vim understanding the various modes and using the yanking more efficiently.
- Image via Wikipedia
We will look at the vim modes today. Sometime back , I was looking at copying a function body. So I was basically looking to copy the lines till matching ”}”. I found a plugin called <a href="http://www.vim.org/scripts/script.php?script_id=1234" target="_blank">yankring which would allow me to yank the text in various combinations. So I can copy a function by going to the begining of the function and then ”y}”. That is very simple to understand right? Wrong!!!
Continue reading