Browse Source

Stop S-delete from killing region in insert mode

nixos
Maxime Wack 3 years ago
parent
commit
4f37cfd111
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      .emacs

+ 4
- 3
.emacs View File

@@ -243,6 +243,7 @@ OPT is the optional arg to the original function"
:demand
:config
(evil-mode t)
(define-key global-map (kbd "<S-delete>") nil)
(setq evil-want-integration nil
evil-want-keybinding nil
evil-want-Y-yank-to-eol t
@@ -264,8 +265,7 @@ OPT is the optional arg to the original function"
evil-overriding-maps nil
evil-intercept-maps nil
;; move beyond eol
evil-move-beyond-eol t
)
evil-move-beyond-eol t)

;; Set alias w/W to save-buffer (to continue using :w to save)
(defalias 'w 'save-buffer)
@@ -352,7 +352,8 @@ OPT is the optional arg to the original function"
(:states 'insert
"C-r" 'counsel-yank-pop
"C-u" 'counsel-unicode-char
"_" 'self-insert-command))
"_" 'self-insert-command
"<S-delete>" nil))

;;;;;; Evil-numbers



Loading…
Cancel
Save