Map shift-tab in vim to inverse tab in Vim

后端 未结 4 779
粉色の甜心
粉色の甜心 2020-12-23 02:23

I\'ve done some searching and found a wealth of information on binding keys in vim, but I can\'t find out, for sure, how to map shift-tab. Or what command I need to map it t

4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-23 02:33

    To test if vim actually gets your shift+tab go into insert mode

    ctrl+v then tab and it should create a tab character

    ctrl+v then shift+tab and it should create an inverse tab character (which appears as ^[[Z)

    If it does not, then vim is not receiving the shift+tab input

    In my case it was my terminal.

    In the terminal window -> settings -> shortcuts

    search shift+tab and unmap

提交回复
热议问题