From 35a5e415b5912ffd4f132093159d6ecb6a453184 Mon Sep 17 00:00:00 2001
From: David Li
Date: Tue, 22 Nov 2016 13:03:28 -0500
Subject: Add C-d and M-d in insert mode
---
init.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/init.el b/init.el
index 7546ae6..4a39090 100644
--- a/init.el
+++ b/init.el
@@ -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)
--
cgit v1.2.3