如何使用 Vimrc 插件更改 VIM 的背景和颜色



我在使用 Vim 配色方案时遇到问题。我已经下载并安装了这个插件,但我不知道如何使我的选择永久化。

你能告诉我怎么做吗?

这是我.vimrc配置文件的一部分:

set nocompatible        " not compatible with the old-fashion vi mode
set bs=2                " allow backspacing over everything in insert mode
set history=50          " keep 50 lines of command line history
set ruler               " show the cursor position all the time
set autoread            " auto read when file is changed from outside
set number              " setting number always 
set showcmd             " display an incomplete command 
set background=wombat256     " or light 

我选择了wombat256但它不起作用。

更改此行:

set background=wombat256     " or light 

colorscheme wombat256

并且不要错过阅读文档的好机会::help 'background':help colorscheme

最新更新