Defining key sequences in Evil-mode Emacs
7
votes
1
answer
2696
views
I couldn't find any instructions on defining key sequences in the Evil doc.
The example given by the developers only covers a single key.
(define-key evil-normal-state "w" 'foo)
What do I need to do, if I want to define "gv" in the normal mode or ";RET" in the insert mode?
In Vim, for example, I just do:
imap ; ;
map gv :tabprev
Asked by Mark T.
(73 rep)
Aug 12, 2012, 02:35 AM
Last activity: Aug 14, 2012, 10:07 PM
Last activity: Aug 14, 2012, 10:07 PM