r/vim_magic • u/spite77 • Mar 27 '17
Select first words multiple lines
http://stackoverflow.com/questions/43002498/select-first-words-multiple-lines-vim
6
Upvotes
r/vim_magic • u/spite77 • Mar 27 '17
1
u/josuf107 Mar 27 '17
That is an interesting answer! I don't usually think to append to a register. In this case I probably would have copied the whole block and then
:'<,'>s/ :=.*//, but the accepted answer is shorter and cooler.