Open ideasman42 opened 7 years ago
possible a duplicate of #8 , I wonder if there are only three of us want this. Here is what I have to do now to achieve this:
(evil-define-minor-mode-key 'visual 'alchemist-mode " e" 'alchemist-iex-send-current-line)
^^
While
set-key-for-mode
is helpful for emacs modes, as far as I can tell there is no way to associate a key with an evil mode (normal-mode, visual-mode for example).In VIM, one might do this for example:
I couldn't find a way to do this with evil-leader.
Perhaps
set-key-for-evil-mode
could be added?