diff options
author | David Robillard <d@drobilla.net> | 2016-09-05 22:41:00 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-09-05 22:41:00 -0400 |
commit | b10f48513a2f2968e5ea3dede00c3aee026816b8 (patch) | |
tree | a511e101b0ead780170838426cf5925eef881bc0 /emacs.d/init.el | |
parent | d47b4f3d65c652d90f1d7cbef4f4d2eb824f0bc8 (diff) | |
download | dotfiles-b10f48513a2f2968e5ea3dede00c3aee026816b8.tar.gz dotfiles-b10f48513a2f2968e5ea3dede00c3aee026816b8.tar.bz2 dotfiles-b10f48513a2f2968e5ea3dede00c3aee026816b8.zip |
Clean up key bindings
Diffstat (limited to 'emacs.d/init.el')
-rw-r--r-- | emacs.d/init.el | 25 |
1 files 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 |