Monday, April 8, 2013

Re: Forcing myself to learn vim properly

:h motion.txt will tell you many ways and there are some more useful
plugins.

Vim is not limited to hjkl which is why "teaching you to avoid jjj" can
be done, but I'm not sure its the most powerful way to advance.

Instead try to reflect every 5min what you could have done faster, and
work on that. Suddenly you'll notice that jjj is not the way to go while
doing so .. :)

The fastest solution is

for x in ['jjj','kkk']
exec 'noremap '.x.' :echoe "stop doing this!<cr>'
endfor

or such. Don't let you stop typing when no action happens. ji still
works while vim is waiting for more keys to find out whether you're
going to type jjj.

Marc Weber

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: