diff options
author | David Li <li.davidm96@gmail.com> | 2016-11-22 13:03:28 -0500 |
---|---|---|
committer | David Li <li.davidm96@gmail.com> | 2016-11-29 13:32:25 -0500 |
commit | 35a5e415b5912ffd4f132093159d6ecb6a453184 (patch) | |
tree | 43e28a7002ba262ca6513b06304d2ffcdb3ea1d6 | |
parent | 614c7c6e1f8f2245832f06fbba0db172ff04fccf (diff) |
Add C-d and M-d in insert mode
-rw-r--r-- | init.el | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -113,6 +113,8 @@ This functions should be added to the hooks of major modes for programming." (define-key evil-normal-state-map (kbd ";") 'comment-or-uncomment-region-or-line) (define-key evil-visual-state-map (kbd ";") 'comment-or-uncomment-region-or-line) +(define-key evil-insert-state-map (kbd "C-d") 'evil-delete-char) +(define-key evil-insert-state-map (kbd "M-d") 'kill-word) (require 'evil-surround) (global-evil-surround-mode 1) |