[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vim Tip (was ... Re: Changes to vim, how to undo)



On Tue, Oct 28, 2008 at 10:23:13AM +1300, Chris Bannister wrote:
> On Sun, Oct 26, 2008 at 07:34:34AM +1100, Alex Samad wrote:
> > my problem is after a recent upgrade of vim I had to add in
> >  source /usr/share/vim/vim71/ftplugin/mail.vim
> > 
> > when i used to be able to do just
> > 
> > set filetype=mail
> > 
> > I am not sure what I need to change - or even how to debug or trace
> > which modules are loaded in which order ....
> 
> <esc><esc>:scriptnames
> 
> The two escapes are just to make sure you are in command mode. :)
> 
> Just found another nifty feature:
> 
> (and this is vim at a tty, NOT gvim!)
> 
> <esc><esc>:<ctrl-f>ihe scri<tab>
> 
>    <ctrl-f> opens the command window -- you can scroll through the
>             history (":he cmdline-window" for the gory details.)
> 
>     i       puts you in insert mode in the command window
>     
>     he scri<tab> brings up a menu of possible topics!
> 
> Hope it works for you, one of the choices is related to debugging.
> 
> P.S. Found that by accident! (clumsy fingers ...) and couldn't repeat
> it, but a ":he:" led me in the right direction.

Thanks

> 
> Also, recent reading:
> http://www.geocities.com/volontir
> http://www.oualline.com/vim-cook.html
> http://www.moolenaar.net/habits.html
> 
> -- 
> Chris.
> ======
> I contend that we are both atheists. I just believe in one fewer god
> than you do. When you understand why you dismiss all the other
> possible gods, you will understand why I dismiss yours.
>                                            -- Stephen F Roberts
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

-- 
"The British government has learned that Saddam Hussein recently sought significant quantities of uranium from Africa. "

	- George W. Bush
01/28/2003
State of the Union Address
making a claim that administration officials knew at the time to be false

Attachment: signature.asc
Description: Digital signature


Reply to: