Archive for the ‘Vim’ Category

Vim line

Saturday, December 31st, 2011

Here are a bunch of tips and tricks with Vim line numbers, wrapping, count, length and my favorite… modeline.

Read more »

Vi Help

Monday, October 31st, 2011

New to Vi? Find out what Vi does, what Vi does not do, where Vi comes from and when to run Vi.

Read more »

VimOutliner Windows installation howto

Sunday, August 1st, 2010

VimOutliner is a plugin that turns Vim into an outliner.  It’s cross-platform.  However, installing it on Windows can be challenging.  My customized version of the plugin should make it a breeze.

Read more »

Search for visually selected text in Vim

Sunday, December 2nd, 2001

I wrote a Vim script to do visual searches.  Directly from the Vim Todo list:

For Visual mode: Command to do a search for the string in the marked area.  Only when less than two lines. Use “g/” and “g?”.

In other words, a way to search for visually selected text !!  It’s available here. With tip 171, you can select some text, then press a key to search for the next occurrence of the text.

Read more »

Deleting a Vim buffer without closing the window

Friday, November 16th, 2001

I’m not sure if this functionality is already within Vim, but I sometimes I find it useful to keep a split window from closing when deleting a buffer. This has already been discussed on the vim AT vim.org mailing list. However, I feel this solution is a little easier to use.  It’s available here. “Given enough eyeballs, all bugs are shallow…  many Vim users have improved upon  my script in tip 165.

Read more »