about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2021-09-09 16:47:21 +0100
committerDavid Morgan <djm_uk@protonmail.com>2021-09-09 16:47:21 +0100
commit35f590fd42d216dac5e98ce67ffe1774b002963d (patch)
treebd38057275b421f6777b2095218b29c394672cfb /.emacs.d
parent36befc396307caa7eeca8e4a26e853f7e218c5f3 (diff)
downloaddotfiles-35f590fd42d216dac5e98ce67ffe1774b002963d.tar.gz
Use smartrep for previous/next-buffer
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-windows.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-windows.el b/.emacs.d/lisp/init-windows.el
index 84bcd3f..021ae26 100644
--- a/.emacs.d/lisp/init-windows.el
+++ b/.emacs.d/lisp/init-windows.el
@@ -72,7 +72,9 @@
     "C-x" '(("}" . enlarge-window-horizontally)
             ("{" . shrink-window-horizontally)
             ("^" . enlarge-window)
-            ("-" . shrink-window-if-larger-than-buffer)))
+            ("-" . shrink-window)
+            ("<left>". previous-buffer)
+            ("<right>" . next-buffer)))
 
 (provide 'init-windows)
 ;;; init-windows.el ends here