Fix workspace switch-buffer keybinds
This commit is contained in:
parent
5e9f74c269
commit
2e0d6a7c3d
1 changed files with 6 additions and 6 deletions
|
@ -469,12 +469,6 @@
|
|||
;; <leader>
|
||||
;;
|
||||
|
||||
(if (featurep! :feature workspaces)
|
||||
(map! :leader :desc "Switch buffer" :n "," #'switch-to-buffer)
|
||||
(map! :leader :desc "Switch workspace buffer"
|
||||
:n "," #'persp-switch-to-buffer
|
||||
:n "<" #'switch-to-buffer))
|
||||
|
||||
(map! :leader
|
||||
:desc "Ex command" :nv ";" #'evil-ex
|
||||
:desc "M-x" :nv ":" #'execute-extended-command
|
||||
|
@ -489,6 +483,12 @@
|
|||
:desc "Blink cursor line" :n "DEL" #'+nav-flash/blink-cursor
|
||||
:desc "Jump to bookmark" :n "RET" #'bookmark-jump
|
||||
|
||||
(:when (featurep! :feature workspaces)
|
||||
:desc "Switch workspace buffer" :n "," #'persp-switch-to-buffer
|
||||
:desc "Switch buffer" :n "<" #'switch-to-buffer)
|
||||
(:unless (featurep! :feature workspaces)
|
||||
:desc "Switch buffer" :n "," #'switch-to-buffer)
|
||||
|
||||
;; C-u is used by evil
|
||||
:desc "Universal argument" :n "u" #'universal-argument
|
||||
:desc "window" :n "w" evil-window-map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue