<div><font face="Lucida Grande">Hi, new to Emacs (Evil-mode persuading me that it’s worth attempting the switch). Have a few questions.</font></div><div><font face="Lucida Grande"><br></font></div><div><span style="font-size: 13px;"><font face="Lucida Grande">I’m trying to get adhoc key mappings working as they would in vim. So for example if I open a new Clojure file I might want to quickly set up a mapping to run it. In vim this would be something like:</font></span></div><div><span style="font-size: 13px;"><font face="Lucida Grande"><br></font></span></div><div><font face="Monaco">:map ,t :!lein exec %<CR></font></div><div><font face="Monaco"><br></font></div><div><font face="Lucida Grande">Is there a way to implement the `map` ex command in evil-mode to make creating arbitrary, temporary mappings like this possible and easy?</font></div><div><font face="Lucida Grande"><br></font></div><div><font face="Lucida Grande">Second question relates to trying to get evil-mode to play nicely with paredit. I’m using `evil-paredit-mode` which makes most things work, but whole line commands such as `dd` don’t seem to work, and I can’t work out how to rebind them. I’ve tried the following:</font></div><div><br></div><div><font face="Monaco"><span style="font-size: 13px;">(</span>evil-define-key 'normal evil-paredit-mode-map (kbd “dd”)</font></div><div><font face="Monaco"> (lambda () (move-beginning-of-line)</font></div><div><font face="Monaco"> (evil-paredit-delete-line))</font></div><div><font face="Monaco"><br></font></div><div><font face="Lucida Grande">But I get the error “key sequence dd starts with non-prefix key d”.</font></div><div><font face="Lucida Grande"><br></font></div><div><font face="Lucida Grande">Thanks in advance for your help!</font></div><div><font face="Lucida Grande"><br></font></div><div><font face="Lucida Grande">Russell</font></div>