begin quoting Ralph Shumaker as of Thu, Feb 01, 2007 at 01:10:07PM -0800: > Stewart Stremler wrote: > >begin quoting Ralph Shumaker as of Wed, Jan 31, 2007 at 09:40:40PM -0800: [snip] > >>Also, in vi, how do I make ":set mouse=a" permanent? > > > >Put it in your .exrc (for vi, vim, and gvim), .vimrc (for vim and gvim), > >or .gvimrc (for just gvim), sans leading colon. > > You mentioned both .exrc *and* .vimrc for vim. Does it need to go into > both? (I think it's vim that I'm using, although I just type vi.)
No, just one. Put it in .exrc if it should apply to straight vi, as well as vim and gvim. Put it in .vimrc if it shouldn't apply to straight vi, but should apply to vim and gvim, etc. I suspect that "set mouse" is a vimism, and as such should go in .vimrc. -- :set all Stewart Stremler -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
