4 ms·
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 po
by kartD 10y ago
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/ https://danielmiessler.com/study/vim/
It's where I learned the command meanings and started to understand vim in a more intuitive manner
- J_Darnley 10y agoDon't forget ctrl-v for column selection.
- akerro 10y agoYou 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/ http://www.vimgolf.com/