[emacs/evil] unbind C-k (instead use C-S-k) and down-mouse-1
[~bandali/configs] / init.org
index defa13d..cf19fbf 100644 (file)
--- a/init.org
+++ b/init.org
@@ -731,7 +731,14 @@ customizing it.
   (unbind-key "C-a" evil-insert-state-map)
   (unbind-key "C-e" evil-insert-state-map)
   (unbind-key "C-p" evil-insert-state-map)
-  (unbind-key "C-n" evil-insert-state-map))
+  (unbind-key "C-n" evil-insert-state-map)
+  (unbind-key "C-k" evil-insert-state-map)
+  (bind-keys
+    :map evil-insert-state-map
+    ("C-k"   . kill-line)
+    ("C-S-k" . evil-insert-digraph)
+    :map evil-motion-state-map
+    ([down-mouse-1] . nil)))
 #+end_src
 
 #+begin_src emacs-lisp