News for hackers. Stuff that matters.
Re:Vim GIFs by kartD on Tuesday July 19, 2016 @04:14PM (#12124515)
Also,

d: delete

c: change

y: yank (copy)

v: visually select (V for line vs. character)

It's also why I added the -ish to my comment (editors can be very polarising), but I feel many of vim's basic editing features are very intuitive

Edit: https://danielmiessler.com/study/vim/ It's where I learned the command meanings and started to understand vim in a more intuitive manner

Re:Vim GIFs by akerro on Wednesday July 20, 2016 @03:31AM (#12127407)
You can also do:

:10d - to delete line 10

d99d - to delete next 99 lines

:10,99d - to delete lines between 10 and 99

:-4,.d - delete from 4 lines above to current line

this also works with other commands

Anyone fancy playing vimgolf? http://www.vimgolf.com/

Re:Vim GIFs by J_Darnley on Tuesday July 19, 2016 @07:18PM (#12125683)
Don't forget ctrl-v for column selection.