Add keybinding for sh-backslash-region

This commit is contained in:
Fredrik Bergroth 2016-01-08 15:37:39 +01:00 committed by syl20bnr
parent 14e090af19
commit 8f991e33f2
2 changed files with 7 additions and 1 deletions

View File

@ -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 |

View File

@ -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\\'"