customize ex commands

Jim Green student.northwestern at
Sun Dec 18 21:58:31 CET 2011

Hi: Frank and List:

I have this snipped of code in my .emacs and I want to use :A instead
of \c-ct for eassist-switch-h-cpp.

(require 'eassist)
(defun c-mode-cedet-hook ()
  (local-set-key "." 'semantic-complete-self-insert)
  (local-set-key ">" 'semantic-complete-self-insert)
  (local-set-key "\C-ct" 'eassist-switch-h-cpp) ;; switch between
corresponding h and cpp files
  (local-set-key "\C-xt" 'eassist-switch-h-cpp)
  (local-set-key "\C-ce" 'eassist-list-methods)
  (local-set-key "\C-c\C-r" 'semantic-symref)
(add-hook 'c-mode-common-hook 'c-mode-cedet-hook)

I added  (local-set-key ":A" 'eassist-switch-h-cpp) to the .emacs but
it doesn't work..


More information about the implementations-list mailing list