Fix s-backspace for non-evil users

This commit is contained in:
Henrik Lissner 2019-12-23 17:20:59 -05:00
parent d1becfce89
commit b88ff2a563
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 16 additions and 1 deletions

View file

@ -262,7 +262,7 @@
"s-/" (λ! (save-excursion (comment-line 1)))
:n "s-/" #'evilnc-comment-or-uncomment-lines
:v "s-/" #'evilnc-comment-operator
:gi [s-backspace] #'evil-delete-back-to-indentation
:gi [s-backspace] #'doom/backward-kill-to-bol-and-indent
:gi [s-left] #'doom/backward-to-bol-or-indent
:gi [s-right] #'doom/forward-to-last-non-comment-or-eol
:gi [M-backspace] #'backward-kill-word

View file

@ -149,6 +149,7 @@ You should use `set-eshell-alias!' to change this.")
[remap split-window-below] #'+eshell/split-below
[remap split-window-right] #'+eshell/split-right
[remap doom/backward-to-bol-or-indent] #'eshell-bol
[remap doom/backward-kill-to-bol-and-indent] #'eshell-kill-input
[remap evil-delete-back-to-indentation] #'eshell-kill-input
[remap evil-window-split] #'+eshell/split-below
[remap evil-window-vsplit] #'+eshell/split-right)))