summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-07-24 20:03:10 -0700
committerFranck Cuny <franckcuny@gmail.com>2016-07-24 20:03:10 -0700
commitdc77e717ff6e7d47e9890aa0139389d9052ea76f (patch)
treebcde6a70786a6b2c10101f191875fb7414f34d32
parent[emacs] Fix the UI (diff)
downloademacs.d-dc77e717ff6e7d47e9890aa0139389d9052ea76f.tar.gz
[emacs] Bindings to quickly move between buffers
-rw-r--r--emacs.d/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index e4246e2..c6fae47 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -294,6 +294,8 @@ Return the new window for BUFFER."
 (global-set-key (kbd "C-c s") 'fc/visit-term-buffer)
 (global-set-key (kbd "s-N") 'fc/switch-to-scratch)
 (define-key emacs-lisp-mode-map (kbd "C-c C-e") 'eval-buffer)
+(global-set-key (kbd "s-<left>") 'next-buffer)
+(global-set-key (kbd "s-<right>") 'previous-buffer)
 
 ;; custom functions
 (defun fc/switch-to-scratch ()