Ctrl+S (horizontal split) not working with Command-T in vim

前端 未结 1 1200
春和景丽
春和景丽 2021-02-08 04:28

I can\'t get the horizontal split to work. Ctrl+enter does nothing, Ctrl+S does nothing.

I\'ve been googeling this for a bit and the only solutions I\'ve found so far ar

1条回答
  •  爱一瞬间的悲伤
    2021-02-08 04:44

    In most terminals, Vim cannot distinguish between Enter and its combinations with Ctrl or Shift, unfortunately; these only work in GVIM.

    The terminal's flow control commands may interfere with Ctrl-S and Ctrl-Q; this can be fixed (in the terminal, not in Vim!) with

    stty start undef stop undef
    

    in ~/.bashrc, ~/.zshrc, etc.

    0 讨论(0)
提交回复
热议问题