Archive for March, 2010

Marking in VIM

Friday, March 19th, 2010

Vim is awesome editor if you know its advance features. One of such feature is marking. Its a life save if you are debugging/editing huge files. You can read more about it here :

http://vim.wikia.com/wiki/Using_marks

http://www.linux.com/archive/feed/54159

In Short to remember :

mx : Mark a line with character x
‘x : return to the marked line

Go to the line you want to mark and press mx in the command mode. That line will be marked with the character ‘x’ and now if you want to come back to that line from anywhere in the file press ‘x it will take you back to the same line. Its a life saver for my huge debugs :)

~njoy vim