Apply conventions to multi-term keybinds
This commit is contained in:
parent
66eebcf032
commit
c68fde7beb
|
@ -2008,6 +2008,10 @@ Other:
|
|||
- Wrap 'shell' command to start in current buffer (thanks to Valts Liepiņš)
|
||||
- Fixed shell popup broken on macOS (thanks to Daniel Rivas Perez)
|
||||
- Fixed broken leader key binding for inferior shell (thanks to Valts Liepiņš)
|
||||
- Added =term-mode= bindings (Thanks to Emil Petersen):
|
||||
- ~SPC m C~ switch multi-term to char mode
|
||||
- ~SPC m l~ switch multi-term to line mode
|
||||
- ~SPC m N~ go to previous multi-term
|
||||
**** Shell Scripts
|
||||
- Added new company-shell environment variable backend (thanks to
|
||||
Alexander-Miller)
|
||||
|
|
|
@ -222,10 +222,12 @@ in the current buffer instead of a popup.
|
|||
** Multi-term
|
||||
|
||||
| Key binding | Description |
|
||||
|-------------+------------------------------|
|
||||
|------------------------+--------------------------------|
|
||||
| ~SPC m c~ | create a new multi-term |
|
||||
| ~SPC m C~ | switch multi-term char mode |
|
||||
| ~SPC m l~ | switch multi-term to line mode |
|
||||
| ~SPC m n~ | go to next multi-term |
|
||||
| ~SPC m p~ | go to previous multi-term |
|
||||
| ~SPC m N~ or ~SPC m p~ | go to previous multi-term |
|
||||
| ~SPC p $ t~ | run multi-term shell in root |
|
||||
|
||||
** Eshell
|
||||
|
|
|
@ -165,8 +165,11 @@
|
|||
;; multi-term commands to create terminals and move through them.
|
||||
(spacemacs/set-leader-keys-for-major-mode 'term-mode
|
||||
"c" 'multi-term
|
||||
"p" 'multi-term-prev
|
||||
"n" 'multi-term-next))))
|
||||
"C" 'term-char-mode
|
||||
"l" 'term-line-mode
|
||||
"n" 'multi-term-next
|
||||
"N" 'multi-term-prev
|
||||
"p" 'multi-term-prev))))
|
||||
|
||||
(defun shell/pre-init-org ()
|
||||
(spacemacs|use-package-add-hook org
|
||||
|
|
Loading…
Reference in a new issue