Vim Tips Wiki
Advertisement

Hi my name is Vasilii Pascal. I'm web-developer. I'm new in vim but i love it very much.

I made my own "silent" light color scheme , you can try it : http://www.vim.org/scripts/script.php?script_id=2266 I'm still using it :) in my work, sometimes especially in the evening i change it to "desert" dark theme.

I use VIM everywhere is possible :) because VIM is great :) .

Later I plan to show my .vimrc


Here is my last tips that can be useful.



A new tip that can be useful. I named it paste that line :) I don't know may be somewhere such tip already exists but i made my own, so :

Whould you like to paste in the current cursor position the line: 10 contents ? No problem : type 10_ that;s it  :) .

Write this code to your .vimrc file : map _ ggy$``P .

Of course you can change "_" to any available keys like : \p or any .

If you have better solution please write me an email to jabberroid @ gmail dot com


I found a very useful tip (seems to me :) ) how how to select a piece of code/text from current position in visual mode just enter: v[number_line]gg for example  : v10gg then "y" "d" or any command what to do with selected area. Also you can copy a code block from current position line :0 till line 10 by : y10gg I think it easy and comfortable :) .


Enjoy !

Advertisement