Live data from Hacker News

Weekly Vim Focus

phonons.wordpress.com

1–10 of 25 posts

Re: Weekly Vim Focus

#2
Doesn't take a long time after you remap the arrow keys to be broken of that habit. I love not having to move my hands for the small navigation things now. Highly suggested.

Re: Weekly Vim Focus

#3
One thing that bothers me and I couldn't find an answer for vi/vim is how do you undo one character at a time? Command u always undo all the text typed since the last insert. Something like ctrl-Z would be great.

Re: Weekly Vim Focus

#4

Doesn't take a long time after you remap the arrow keys to be broken of that habit. I love not having to move my hands for the small navigation things now. Highly suggested.

noremap

noremap

noremap

noremap

Re: Weekly Vim Focus

#8
Learning how to use "t" was a game-changer for me. Before that, I used "f", which cost me a fair bit of time when deleting things since the extra character was deleted. (c/d)t is a great sequence that I use a lot.

I suggest VimGolf as a way to learn new commands, especially how to use them efficiently. It was how I learned to use "w" and "b", as well as macros.

Re: Weekly Vim Focus

#9
post #3

One thing that bothers me and I couldn't find an answer for vi/vim is how do you undo one character at a time? Command u always undo all the text typed since the last insert. Something like ctrl-Z would be great.

You can modify undo to chunk based on words with the following:

:inoremap u

Post reply on HN