May 22. 2009

Vi/Vim 30 days - Day 3

Friday, 22 May 2009

Posted by Sébastien Lachance with Comments (0)

Not been typing much today, but I wanted at least to clear something. How do I cut/paste inside gVim.

First you need to enter the selection mode by hitting "v". Then move the cursor to select text using h, j, k, l, w, e, etc. When the text is selected, hit "d". This will cut the text. Now hit "p" to put the line back.

On another note, I talked about vi/vim to some of my colleagues and friends and everyone is just laughing at me. Everyone seems to agree that there is no points in learning this and should stick with "what everyone do". I do hope to show them what it's really about.