How to get different colorschemes in Vim split window?

后端 未结 3 1426
陌清茗
陌清茗 2021-01-14 07:55

I prefer having different colorscheme for python and different for rest of the files.

So, what I did is added the below two lines in my vimrc

相关标签:
3条回答
  • 2021-01-14 08:20

    This is really more of a frowned upon, non-vim workaround, but you could use tmux or screen panes to separate two instances of vim with differing colorschemes.

    0 讨论(0)
  • 2021-01-14 08:23

    I don't think that it's possible to reliably have different colorschemes active at the same time.

    In fact, I'm very surprised that you are able to load different colorschemes for different windows. :colorscheme molokai is a global command that works on every buffer.

    0 讨论(0)
  • 2021-01-14 08:36

    It's not exactly what you want, but this tab page color scheme vim plugin lets you assign a different colorscheme for each tab with :Tcolorscheme.

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