如何让 VIM 识别在 Powershell 中运行并应用我想要的颜色方案?
换句话说:IF running in powershell THEN colorscheme ...
如何让 VIM 识别在 Powershell 中运行并应用我想要的颜色方案?
换句话说:IF running in powershell THEN colorscheme ...
如何判断 vim 是否在命令行与 powershell 中运行
...这个对我不起作用,但是我发现“解决方案的另一种方式”:
colorscheme ir_black
if has('gui_running')
set guifont=Inconsolata:h12
colorscheme native
endif
第一个适用于 Powershell,当 gVim 在 Powershell 外运行时colorscheme
,里面的一个可以工作。if-endif