vim key mapping failed
过去多啦不再A梦
过去多啦不再A梦 2017-05-16 16:39:21
0
3
567

Operating environment:

Fedora 21 Terminal

question:

First configureimap jk You can do it throughjk. I don’t know why it suddenly fails after using it. Pressjkand directly output.

Replenish:

imap jk is written in the configuration file and is invalid.
I just executed:imap jk in Normal mode and then entered Insert mode. However, it failed again after exiting vim and then entering again.
Very weird :(

过去多啦不再A梦
过去多啦不再A梦

reply all (3)
大家讲道理

imap refers to mapping under input mode. This is the keyboard mapping at this time, which will directly input text. You should change it to nmap, or be more violent and try map

    迷茫

    You can execute it:mapto see what jk is mapped

      滿天的星座

      The most likely reason for this is that you try typing something with原始的意义取消掉了,你直接按ESC.

      If it’s normal, you can try mappingimap jk Maybe there won’t be any problems

        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!