customize ex commands
Michael Markert
markert.michael at googlemail.com
Sun Dec 18 22:29:41 CET 2011
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")
#+end_src
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : https://lists.ourproject.org/pipermail/implementations-list/attachments/20111218/54e76055/attachment.pgp
More information about the implementations-list
mailing list