Re: Sections in ~/.vimrc

2008-12-05 Thread Sergio Acosta
I think you might find useful taking those sections out of your .vimrc and putting them in filetype plugins. :h filetype On Dec 5, 2008, at 12:42 AM, Steve Laurie wrote: > > Hi all, > > I've created key mappings in my ~/.vimrc file to automate creating > empty > XHTML, C/C++ and PERL files

Re: Announcing a CC-licensed book on Vim 7

2008-11-25 Thread Sergio Acosta
>> I'm happy to announce the first public release of my Creative-Commons >> licensed book on the Vim 7 editor. >> >> The book is called "A Byte of Vim" and is available at >> http://www.swaroopch.com/notes/Vim Thanks for your hard work and for sharing! I'm sure that as a newbee I will learn some

Re: How do I open :help in a new tab?

2008-11-19 Thread Sergio Acosta
> On 20/11/08 05:44, John Beckett wrote: >> sergio acosta wrote: >>> I don't like that the :help command opens always in a split >>> window. I would like to be able to have it open in a new tab. >> >> Much to my surprise, I just tried the following

How do I open :help in a new tab?

2008-11-19 Thread sergio acosta
This is kind of a vim newbee question. I don't like that the :help command opens always in a split window. I would like to be able to have it open in a new tab. Is there any way to force it to open in a new tab, or at least in the current full window? (in that case I can open a new empty tab bef

Re: Alternative means to delete last half of a word?

2008-10-17 Thread sergio acosta
Another one is: dt That means 'delete to space', and will delete everything between the current position and the space, but not the space itself. it works with any other char besides space, for example: dt; will delete everything from the current position to the nearest semicolon on the same