summaryrefslogtreecommitdiffstats
path: root/emacs.d/init.el
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-09-05 22:41:00 -0400
committerDavid Robillard <d@drobilla.net>2016-09-05 22:41:00 -0400
commitb10f48513a2f2968e5ea3dede00c3aee026816b8 (patch)
treea511e101b0ead780170838426cf5925eef881bc0 /emacs.d/init.el
parentd47b4f3d65c652d90f1d7cbef4f4d2eb824f0bc8 (diff)
downloaddotfiles-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.el25
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