r/programming • u/variance_explained • May 23 '17
Stack Overflow: Helping One Million Developers Exit Vim
https://stackoverflow.blog/2017/05/23/stack-overflow-helping-one-million-developers-exit-vim/
9.2k
Upvotes
View all comments
Show parent comment
2
u/Godd2 May 24 '17
Most commands and text objects in Vim take a count.
d5wwill delete 5 words.15ina <esc>will insert "na " 15 times.50<Ctrl+A>will add 50 to a number that your cursor is on (seems gimmicky at first, but is super useful sometimes).8}will jump down 8 paragraphs. Useful for jumping around in code quickly.v7tewill visually select everything until the 7th occurrance of the letter e on the line you're on.