From dddcc0bd2d902892ff6c11cdee793e848f4f34c9 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 16 Jun 2018 20:17:42 +0200 Subject: emacs: Remove some old emacs-style keybinds --- emacs/.emacs.d/main.el | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'emacs/.emacs.d/main.el') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index e8073d0..c1418a9 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -363,11 +363,6 @@ (bind-key* "" #'execute-extended-command) -(unbind-key "C-z") -(bind-key* "C-" #'other-window) - -(bind-key* "C-x C-r" #'revert-buffer) -(bind-key* "C-x C-j" #'delete-indentation) (unbind-key "C-x C-c") (bind-key* "C-c i" #'insert-char) @@ -377,15 +372,10 @@ (unbind-key "s-n") (unbind-key "s-p") (unbind-key "s-w") -(bind-key* "s-k" #'kill-or-delete-this-buffer-dwim) - -(bind-key "C-M-a" #'backward-paragraph text-mode-map) -(bind-key "C-M-e" #'forward-paragraph text-mode-map) (bind-key* "s-x" (define-prefix-command 'super-x-map)) (bind-key* "s-," #'switch-to-dotfiles) (bind-key* "C-x M-x" #'execute-extended-command) -(set-register ?z `(file . ,(expand-file-name ".config/zsh/zshrc" "~"))) ;;;;; Crux @@ -393,16 +383,10 @@ ;; configuration with crux.el (use-package crux - :bind (("M-o" . crux-smart-open-line-above) - ("C-o" . crux-smart-open-line) - - ("C-x 4 t" . crux-transpose-windows) + :bind (("C-x 4 t" . crux-transpose-windows) ("C-c e" . crux-eval-and-replace) ("C-c D" . crux-delete-file-and-buffer) - ("C-c R" . crux-rename-file-and-buffer)) - :init (progn - (defalias 'delete-current-buffer-file #'crux-delete-file-and-buffer) - (defalias 'rename-current-buffer-file #'crux-rename-file-and-buffer))) + ("C-c R" . crux-rename-file-and-buffer))) ;;;; Projects -- cgit 1.4.1