about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-windows.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-windows.el b/.emacs.d/lisp/init-windows.el
index 44c75d3..1866726 100644
--- a/.emacs.d/lisp/init-windows.el
+++ b/.emacs.d/lisp/init-windows.el
@@ -126,9 +126,13 @@
   ("C-<" . buffer-ring-prev-buffer)
   ("C->" . buffer-ring-next-buffer))
 
-;; TODO C-c ./C-c , C-c >/C-c < , available (but the first two currently clash with other bindings)
-;; C-<left> and C-<right> can be used
 (use-package cbm
+  :config
+  (defvar cbm-repeat-map
+    (let ((map (make-sparse-keymap)))
+      (define-key map (kbd "<") #'cbm-cycle)
+      map))
+  (put 'cbm-cycle 'repeat-map 'cbm-repeat-map)
   :bind
   ("C-c C-b <" . cbm-cycle)
   ("C-c C-b C-b" . cbm-switch-buffer))