137156Re: Forcing myself to learn vim properly
- Apr 10, 2013On 08 Apr 2013, Marc Weber wrote:
>I couldn't get this to work. I do suffer from the jjj problem.
> The fastest solution is
> for x in ['jjj','kkk']
> exec 'noremap '.x.' :echoe "stop doing this!<cr>'
> 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
I've tried several solutions; the most effective is to do
inoremap jj <Esc>
and so on, but it has the disadvantage that whenever I type h,j,k,l in
Insert mode there is a slight but annoying pause while vim waits to see
if there are going to repetitions.
I also tried a Tip to make vim return to Normal mode automatically after
au InsertEnter * let updaterestore=&updatetime | set updatetime=25000
au InsertLeave * let &updatetime=updaterestore
But I found that annoying too. I came to the conclusion that there is
no really satisfactory way to avoid the problem apart from vigilance.
Anthony Campbell - ac@...
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@....
For more options, visit https://groups.google.com/groups/opt_out.
- << Previous post in topic Next post in topic >>