From b10f48513a2f2968e5ea3dede00c3aee026816b8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 5 Sep 2016 22:41:00 -0400 Subject: Clean up key bindings --- emacs.d/init.el | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/emacs.d/init.el b/emacs.d/init.el index 233760b..deea970 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -283,25 +283,26 @@ ;;; Key bindings -(global-set-key (kbd "\C-m") 'newline-and-indent) -(global-set-key (kbd "C-p") 'previous-error) -(global-set-key (kbd "C-n") 'next-error) (global-set-key (kbd "C-b") 'compile) -(global-set-key (kbd "C-c r") 'replace-string) +(global-set-key (kbd "C-m") 'newline-and-indent) +(global-set-key (kbd "C-n") 'next-error) +(global-set-key (kbd "C-p") 'previous-error) + +(global-set-key (kbd "C-c <") 'first-error) +(global-set-key (kbd "C-c =") 'set-variable) (global-set-key (kbd "C-c R") 'replace-regexp) (global-set-key (kbd "C-c a") 'align) -(global-set-key (kbd "C-c s") 'sort-lines) -(global-set-key (kbd "C-c g") 'grep-find) (global-set-key (kbd "C-c c") 'comment-region) -(global-set-key (kbd "C-c u") 'uncomment-region) -(global-set-key (kbd "C-c f") 'ff-find-other-file) (global-set-key (kbd "C-c d") 'svn-status-show-svn-diff) -(global-set-key (kbd "C-c m") 'magit-status) -(global-set-key (kbd "C-c w") 'rotate-windows) (global-set-key (kbd "C-c e") 'erc-track-switch-buffer) -(global-set-key (kbd "C-c <") 'first-error) -(global-set-key (kbd "C-c =") 'set-variable) +(global-set-key (kbd "C-c f") 'ff-find-other-file) +(global-set-key (kbd "C-c g") 'grep-find) +(global-set-key (kbd "C-c m") 'magit-status) +(global-set-key (kbd "C-c r") 'replace-string) +(global-set-key (kbd "C-c s") 'sort-lines) (global-set-key (kbd "C-c t") 'toggle-truncate-lines) +(global-set-key (kbd "C-c u") 'uncomment-region) +(global-set-key (kbd "C-c w") 'rotate-windows) ;;; File modes -- cgit v1.2.1