fix buffer switching

This commit is contained in:
Stefan Schwarz 2019-08-05 11:58:54 +02:00
parent a677bbec08
commit d711fc89c3

View file

@ -166,7 +166,7 @@
"'" '(iterm-focus :which-key "iterm")
"?" '(iterm-goto-filedir-or-home :which-key "iterm - goto dir")
"/" 'counsel-ag
"TAB" '(switch-to-other-buffer :which-key "prev buffer")
"TAB" '(switch-to-last-buffer :which-key "prev buffer")
"SPC" '(avy-goto-word-or-subword-1 :which-key "go to char")
;; Applications
@ -261,6 +261,11 @@
(window-configuration-to-register ?_)
(delete-other-windows)))))
(defun switch-to-last-buffer ()
"Switch to the last buffer, allowes quick jumping between the last two."
(interactive)
(switch-to-buffer nil))
;; other