diff options
author | David Robillard <d@drobilla.net> | 2015-10-03 21:19:30 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-10-03 21:19:30 -0400 |
commit | af56ea55aeb4f565b03049b6d65b6d659f91508e (patch) | |
tree | 54b923e2e3f299c340f53e7add706de983fe3944 | |
parent | d0b3395de203596e7dc8a7f0d6e7ce3653957193 (diff) | |
download | dotfiles-af56ea55aeb4f565b03049b6d65b6d659f91508e.tar.gz dotfiles-af56ea55aeb4f565b03049b6d65b6d659f91508e.tar.bz2 dotfiles-af56ea55aeb4f565b03049b6d65b6d659f91508e.zip |
More consistent keybindings.
-rw-r--r-- | emacs.d/init.el | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el index 5608ae4..f180b72 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -139,24 +139,24 @@ (set-window-start w2 s1) (setq i (1+ i)))))))) -(global-set-key (kbd "C-b") 'compile) -(global-set-key (kbd "M-p") 'previous-error) -(global-set-key (kbd "M-n") 'next-error) -(global-set-key [C-up] 'previous-error) -(global-set-key [C-down] 'next-error) -(global-set-key [C-tab] 'switch-to-previous-buffer) -(global-set-key (kbd "C-c r s") 'replace-string) -(global-set-key (kbd "C-c r 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-b") 'compile) +(global-set-key (kbd "M-p") 'previous-error) +(global-set-key (kbd "M-n") 'next-error) +(global-set-key [C-up] 'previous-error) +(global-set-key [C-down] 'next-error) +(global-set-key [C-tab] 'switch-to-previous-buffer) +(global-set-key (kbd "C-c r") 'replace-string) +(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) ;; Shrink fringe and remove scroll bars ;(fringe-mode 'minimal) |