VI Improved Tips :: vimrc dissected

Sunday, October 12, 2014

Save state of the folds: mkview

›
I have tried in the past to use fold, but found them to be cumbersome and unwieldy. Most problematic of all, was that the VIM doesn't sa...
Friday, February 28, 2014

VIM got fork: Neovim

›
Heise.de reports (German) that VIM has got a fork. The name of the new fork is Neovim . The site at the moment has only two things: link to...
Saturday, February 15, 2014

A trick for keywordprg

›
Scouting web for what's possible with git aliases, I have found a cool trick on how to combine/chain calls to several tools when the pro...
Friday, November 15, 2013

Highlight the locking primitives in the C/C++ code

›
A quick hack to highlight the locking calls in a C/C++ program: :syn match cTodo '\<\i*[lL]ock\i*\>' Reuses colors of the...
Thursday, January 24, 2013

[off-topic] split/filter C++ class declarations from source into header file

›
Occasionally, I end up writing a simple one-file prototype for the whatever future C++ thingy I'm doing at the moment. Occasionally, the...
Thursday, January 17, 2013

Few tricks for the GVIM diff mode

›
Couple of useful tricks for the GVIM diff mode ( ~/.gvimrc ): - Equalize the diff file window sizes when resizing the GVIM window. That is...
Monday, December 03, 2012

[off-topic] Perl or PCRE: sort strings with numbers

›
A little trick with regular expressions (if backtracking is supported) on how to compare two strings which might include number. The trick ...
Saturday, December 01, 2012

Regex to match the word under cursor

›
The VIM-specific regex below matches the word under cursor. (Pasting unmodified as it is in my vimrc to also match German letters.) /[a-zA...
4 comments:

Search for a misspelled word

›
Alternative 1: /The\S\+les\(Themistokles\)\@<! Alternative 2: /\(Themistokles\)\@!\(\<The\S\+les\>\) Both search for any wo...

[link] Wrap a visual selection in an HTML tag

›
Wrap a visual selection in an HTML tag. Pretty useful function. I have only slightly modified it to take the tag as parameter and insert ...
3 comments:
›
Home
View web version

About Me

My photo
Ihar Filipau
Born in Minsk, Belarus; working in Germany.
View my complete profile
Powered by Blogger.