Re: ecb with vip-mode

Lennart Borgman <[email protected]> Sat, 13 Mar 2010 22:46:55 +0100
Newsgroups gmane.emacs.code-browser
Message-ID <[email protected]>
On Sat, Mar 13, 2010 at 10:27 PM, kevin ulin <[email protected]> wrote:
> Below is the content of my .emacs file. I want to use the first 3 commands
> in the edit window but ecb seems to disable them somehow. If I start emacs
> via 'emacs test', the first top 3 commands will be enabled for the file, but
> if I browse to the file through the ecb windows they do not appear to be
> set.
>
>
> (setq term-setup-hook 'vip-mode)


Do you really want to use the old vip-mode? That vi emulator is
written as a major mode.

Major modes are normally for the content of the buffer, like
html-mode, emacs-lisp-mode.

Newer vi emulators (like viper or vim-mode, see
http://www.emacswiki.org/emacs/VimMode) are written as minor modes
which are ortogonal to major modes so they can be used together with
the buffers major mode.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev