My 'O' command (enter a new line above this one and enter insert mode) is slow to take effect. It seems like this is because there is some other mapping, such as 'OP' , and that vim is waiting when I hit 'O' to see if I want 'O' or 'OP'. I don't know what set this mapping, it's not anything in my .vimrc. I'd like to find it and change it so I can go back to having snappy 'O' commands, but I don't know how to find it.
Is there a way to see a list of what mappings a key is involved with? Note: I do not want to reduce my timeout setting.
Thanks
:verbose map O
tells you which mappings start with O
. That usually gives you the right hint about mappings that execute only after a short delay. For the O
mapping in particular, you may also suffer from the problem described in delay before o opens a new line .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.