summaryrefslogtreecommitdiffstats
path: root/emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/init.el')
-rw-r--r--emacs.d/init.el12
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)