Add evil-scroll-line bindings to evilified state
Unless there is a valid reason why these shouldn't be included I think we should keep them. after all we can yank with `v y` right? squash! Add documentation
This commit is contained in:
parent
cf11c5eb41
commit
e7e7f75d3f
|
@ -660,7 +660,8 @@ editing text, and provide their own keybindings for certain operations. These
|
|||
often conflict with Vim bindings. To make such buffers behave Vim-like in a
|
||||
consistent manner, they use a special state called /evilified/ state. In
|
||||
evilified state, a handful of keys work as in Evil, namely =/=, =:=, =h=, =j=,
|
||||
=k=, =l=, =n=, =N=, =v=, =V=, =gg=, =G=, =C-f=, =C-b=, =C-d=, =C-u= and =C-z=.
|
||||
=k=, =l=, =n=, =N=, =v=, =V=, =gg=, =G=, =C-f=, =C-b=, =C-d=, =C-e=, =C-u=,
|
||||
=C-y= and =C-z=.
|
||||
All other keys work as intended by the underlying mode.
|
||||
|
||||
Shadowed keys are moved according to the pattern: =a= → =A= → =C-a= → =C-A=
|
||||
|
|
|
@ -152,6 +152,8 @@ Needed to bypass keymaps set as text properties."
|
|||
(define-key evil-evilified-state-map "G" 'evil-goto-line)
|
||||
(define-key evil-evilified-state-map (kbd "C-f") 'evil-scroll-page-down)
|
||||
(define-key evil-evilified-state-map (kbd "C-b") 'evil-scroll-page-up)
|
||||
(define-key evil-evilified-state-map (kbd "C-e") 'evil-scroll-line-down)
|
||||
(define-key evil-evilified-state-map (kbd "C-y") 'evil-scroll-line-up)
|
||||
(define-key evil-evilified-state-map (kbd "C-d") 'evil-scroll-down)
|
||||
(define-key evil-evilified-state-map (kbd "C-u") 'evil-scroll-up)
|
||||
(define-key evil-evilified-state-map (kbd "C-z") 'evil-emacs-state)
|
||||
|
|
Loading…
Reference in New Issue