emacs - evil: disable arrow keys in insert mode
This commit is contained in:
parent
2e863ad122
commit
8f4ce84497
1 changed files with 4 additions and 0 deletions
|
@ -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 "<up>") 'nope)
|
||||
(define-key evil-insert-state-map (kbd "<down>") 'nope)
|
||||
(define-key evil-insert-state-map (kbd "<left>") 'nope)
|
||||
(define-key evil-insert-state-map (kbd "<right>") 'nope)
|
||||
(define-key evil-normal-state-map (kbd "#")
|
||||
(lambda () (interactive) (my/swiper-thing-at-point 'word)))
|
||||
(define-key evil-normal-state-map (kbd "*")
|
||||
|
|
Loading…
Reference in a new issue