diff options
author | David Robillard <d@drobilla.net> | 2017-11-11 10:27:43 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-11-11 10:28:13 +0100 |
commit | 6d17da2dda745f706f22eeb857fcae43388b77a0 (patch) | |
tree | 5469f6c4951c4d67c7f1b6b98ad0b3449479ce4f /emacs.d | |
parent | 5499e6ce9c3e1168319e60c062fdfc1b3c4536c8 (diff) | |
download | dotfiles-6d17da2dda745f706f22eeb857fcae43388b77a0.tar.gz dotfiles-6d17da2dda745f706f22eeb857fcae43388b77a0.tar.bz2 dotfiles-6d17da2dda745f706f22eeb857fcae43388b77a0.zip |
Add buffer navigation key bindings
Diffstat (limited to 'emacs.d')
-rw-r--r-- | emacs.d/init.el | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el index d23948e..251a1f7 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -262,11 +262,13 @@ ;;; Key bindings -(global-set-key (kbd "C-b") 'compile) -(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-s") 'swiper) +(global-set-key (kbd "C-<left>") 'previous-buffer) +(global-set-key (kbd "C-<right>") 'next-buffer) +(global-set-key (kbd "C-b") 'compile) +(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-s") 'swiper) (global-set-key (kbd "C-c <") 'first-error) (global-set-key (kbd "C-c =") 'set-variable) |