Open a buffer as a vertical split in VIM

后端 未结 6 1136
醉酒成梦
醉酒成梦 2021-01-29 17:35

If you are editing a file in VIM and then you need to open an existing buffer (e.g. from your buffer list: :buffers) how can you open it in a vertical split?

<
6条回答
  •  独厮守ぢ
    2021-01-29 18:06

    you can use Neovim,like that:

    autocmd FileType python nmap  :rightbelow vertical split  :term python %
    

提交回复
热议问题