Is there a way to map Ctrl period and Ctrl comma in Vim?

后端 未结 4 425
深忆病人
深忆病人 2021-02-06 21:52

I can\'t seem to find a way to map period and comma in Vim. Is it possible?

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-06 22:56

    It seems @Prince Goulash is correct, but I have found a solution that has worked for my needs. How I got around this limitation is by creating bindings in my actual terminal emulator, which allows bindings such as , that outputs a random string (so I don't accidentally hit it, usually 3 nums followed by the char I want bound with ctrl) which is then bound to the command I wanted it to be bound to in vim. Not quite as portable, but it's worked like a charm.

提交回复
热议问题