Add keybinding for sh-backslash-region
This commit is contained in:
parent
14e090af19
commit
8f991e33f2
|
@ -25,4 +25,7 @@ file.
|
|||
|
||||
* Key Bindings
|
||||
|
||||
None for now.
|
||||
| Key Binding | Description |
|
||||
|-------------+-----------------------------------------------------------|
|
||||
| ~SPC m \~ | insert end-of-line backslashes to the lines in the region |
|
||||
|
||||
|
|
|
@ -23,6 +23,9 @@
|
|||
:defer t
|
||||
:init
|
||||
(progn
|
||||
(spacemacs/set-leader-keys-for-major-mode 'sh-mode
|
||||
"\\" 'sh-backslash-region)
|
||||
|
||||
;; Use sh-mode when opening `.zsh' files, and when opening Prezto runcoms.
|
||||
(dolist (pattern '("\\.zsh\\'"
|
||||
"zlogin\\'"
|
||||
|
|
Loading…
Reference in a new issue