Friday, December 11, 2009

The Power of Ctrl+R in gvim

The Control-R mechanism is very useful:-:h i_CTRL-R

Usually used for inserting the contents of a register 0-9a-zbut can also insert the following special registers etc

'"' the unnamed register, containing the text of the last delete oryank'%' the current file name'#' the alternate file name'*' the clipboard contents (X11: primary selection)'+' the clipboard contents'/' the last search pattern':' the last command-line'.' the last inserted text'-' the last small (less than a line) delete=5*5 insert 25 into text (mini-calculator)

No comments:

About me

Reliable and hard worker with proactive thinking. Used to solve things looking at more ways, many a times implements the wrong!! But thats how I make my journey ... Success in all fields* in my Goal... Teasing people by "Hathodas" is my passion.. and Sleep till late is my hobby...