Fix terminal RET and TAB in layouts/workspaces transient state
* Make RET and TAB (C-m and C-i) perform the same actions as <return> and <tab> so the maps work in the terminal. * Catch <return> in workspaces transient state so that it exits without executing a command (like already done for layouts). * Add "workspace w/helm/ivy" to docstring, mirroring the layouts docstring.
This commit is contained in:
parent
a37d4296cf
commit
ac1168b6af
|
@ -36,7 +36,8 @@
|
|||
[_<tab>_]^^^^ last workspace [_?_] toggle help\n
|
||||
[_l_]^^^^ layouts
|
||||
[_n_/_C-l_]^^ next workspace
|
||||
[_N_/_p_/_C-h_] prev workspace\n")
|
||||
[_N_/_p_/_C-h_] prev workspace\n
|
||||
[_w_]^^^^ workspace w/helm/ivy\n")
|
||||
|
||||
(spacemacs|define-transient-state workspaces
|
||||
:title "Workspaces Transient State"
|
||||
|
@ -65,8 +66,10 @@
|
|||
("C-8" eyebrowse-switch-to-window-config-8)
|
||||
("C-9" eyebrowse-switch-to-window-config-9)
|
||||
("<tab>" eyebrowse-last-window-config)
|
||||
("<return>" nil :exit t)
|
||||
("TAB" eyebrowse-last-window-config)
|
||||
("RET" nil :exit t)
|
||||
("C-h" eyebrowse-prev-window-config)
|
||||
("C-i" eyebrowse-last-window-config)
|
||||
("C-l" eyebrowse-next-window-config)
|
||||
("d" eyebrowse-close-window-config)
|
||||
("l" spacemacs/layouts-transient-state/body :exit t)
|
||||
|
@ -176,6 +179,8 @@
|
|||
("C-0" spacemacs/persp-switch-to-0)
|
||||
("<tab>" spacemacs/jump-to-last-layout)
|
||||
("<return>" nil :exit t)
|
||||
("TAB" spacemacs/jump-to-last-layout)
|
||||
("RET" nil :exit t)
|
||||
("C-h" persp-prev)
|
||||
("C-l" persp-next)
|
||||
("a" persp-add-buffer :exit t)
|
||||
|
|
Loading…
Reference in New Issue