fix buffer switching
This commit is contained in:
parent
a677bbec08
commit
d711fc89c3
1 changed files with 6 additions and 1 deletions
7
init.el
7
init.el
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue