From 8f4ce844974df6023556cd2f82964b926ab8d076 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Sat, 14 Oct 2017 12:42:45 +0200 Subject: [PATCH] emacs - evil: disable arrow keys in insert mode --- emacs/.emacs.d/init.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index fd4cc08..e606395 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -280,6 +280,10 @@ (define-key evil-normal-state-map "gn" 'my/evil-go-forward) (define-key evil-motion-state-map [down-mouse-1] 'silence) (define-key evil-motion-state-map [mouse-1] 'silence) + (define-key evil-insert-state-map (kbd "") 'nope) + (define-key evil-insert-state-map (kbd "") 'nope) + (define-key evil-insert-state-map (kbd "") 'nope) + (define-key evil-insert-state-map (kbd "") 'nope) (define-key evil-normal-state-map (kbd "#") (lambda () (interactive) (my/swiper-thing-at-point 'word))) (define-key evil-normal-state-map (kbd "*")