customize ex commands
Jim Green
student.northwestern at gmail.com
Sun Dec 18 23:04:15 CET 2011
On 18 December 2011 16:29, Michael Markert
<markert.michael at googlemail.com> wrote:
> Hi Jim,
>
> On 18 Dec 2011, Jim Green wrote:
>
>> I added (local-set-key ":A" 'eassist-switch-h-cpp) to the .emacs but
>> it doesn't work..
>
> Have a look at evil-maps.el.
>
> For the specific problem you need:
>
> #+begin_src emacs-lisp
>
> (evil-ex-define-cmd "A" 'eassist-switch-h-cpp)
>
> ;; or
>
> (evil-ex-define-cmd "alternate" 'eassist-switch-h-cpp)
> (evil-ex-define-cmd "A" "alternate")
>
THanks both!
regarding the feature request, will do!
Jim
More information about the implementations-list
mailing list