Archive for the ‘vim’ Category
vim unicode setup for windows 2000
Wednesday, December 29th, 2010To display unicode (utf8) files in vim in windows, the following commands should be added to %PROGRAMS%\Vim\_vimrc:
entering special characters in vim
Wednesday, March 10th, 2010Time to time, I forget it. Found again in some wiki: “Entering special characters“. In short: ^Vnnn or ^Vxnn. Note also: “how to input diacritic characters“.
wrapping text in vim
Sunday, December 3rd, 2006For long time, I wanted the following functionality in vim: I select text and say “wrap the text by a tag”. Now I’m formatting texts for HTML, and this functionality is so much required that I’ve got it.
fast docbook editing in vim
Tuesday, June 21st, 2005I’m going to write quite a big text in DocBook format. At work I use FrameMaker, but at home I don’t have FM, so I’ll use the universal text editor vim. DocBook is very verbose format, and it is very unefficient to edit DocBook texts without assistance from a editor. I’ve looked for how vim can help me and found a life changing solution.
indenting XML in vim
Wednesday, June 15th, 2005Sometimes I need to look inside XML files which consist of one big line. It’s very impossible, and reformatting takes a time. Fortunately, I’ve found a good solution for vim.
character code under cursor and other vim tips
Wednesday, June 15th, 2005I often need to know the code of a symbol, and I always forget how to reveal the code in vim. In order to remember, I’m saving it in the blog: “ga”. Meanwhile, a useful list of vim command is found: “Tip #305: Best of VIM Tips (VIM’s best Features)“.
vim and linebreak at the end of file
Monday, April 11th, 2005Sometimes it’s very unhelpful when vim automatically adds a linebreak at the end of file. Finally, I’ve became so irritated to switch to joe each time to correct the file, that I’ve found a solution.