Revise term/vterm/eshell commands & keybinds
The semantics of SPC o t and SPC o T (or SPC o e and SPC o E in eshell's case) have been reversed. The lowercase keybind toggles the popup (and the prefix arg forciby recreates the popup), and the uppercase keybind switches to that terminal in the current buffer (whose prefix arg will open the terminal in default-directory, rather than the project root). - +{term,vterm,eshell}/open have been replaced with +X/here commands and are bound to SPC o T (and SPC o E in eshell's case). - +{term,vterm,eshell}/popup* have been replaced with +x/toggle commands and are bound to SPC o t (and SPC o e in eshell's case). The "toggle" behavior will do as the name implies, except will select the popup if it is visible but unfocused.
This commit is contained in:
parent
750d7629e1
commit
4fec3eb698
8 changed files with 150 additions and 91 deletions
|
@ -18,10 +18,8 @@ alpha and requires a component be compiled (=vterm-module.sh=).
|
|||
|
||||
The following commands are available to open it:
|
||||
|
||||
+ ~+vterm/open~ (=SPC o t=): Opens vterm in the current window.
|
||||
+ ~+vterm/open-popup~ (no keybind): Opens vterm in a pop up window.
|
||||
+ ~+vterm/open-popup-in-project~ (=SPC o T=): Opens vterm from the project root
|
||||
in a pop up window.
|
||||
+ ~+vterm/toggle~ (=SPC o t=): Toggle vterm pop up window in the current project
|
||||
+ ~+vterm/here~ (=SPC o T=): Opens vterm in the current window
|
||||
|
||||
** Module Flags
|
||||
This module provides no flags.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue