vim basic questions
hi guys,
found a nice vim cheat sheet but some isnt clear to me whats the difference between y and yy? also can you select multiple lines to copy and paste? thanks |
Rather than explain, here's a wiki article on how to copy and paste in vim
http://vim.wikia.com/wiki/Copy,_cut_and_paste It explains it much better than I (IMO). |
To yank a series of lines, for example to yank lines 16 through 22:
Code:
Esc <-------To enter command mode Full Disclosure: Two of the shows are mine. |
My advice would be to find a better cheat sheet. There is also the vimtutorial which is available with the installation.
|
Hi,
Check this out: http://vimcasts.org/ This site has videos and lots of examples. With Vim, if you show some patience, you can reach a point where you don't need a cheat sheet. Cheers. |
All times are GMT -5. The time now is 06:18 PM. |