第三章 基本配置
配置转移
在前面的章节中,我们都是用了vim81下面的vimrc_example.vim
文件作为配置文件,从本章节开始,为了方便管理,都将直接使用vim目录下的_vimrc
作为配置文件
配置详情
vimrc文件
初始配置以及平台检测
1 |
|
默认配置
1 |
|
插件管理
1 |
|
格式、编码以及map配置
1 |
|
显示配置
1 |
|
vimrc_example.vim文件
1 |
|
其他修改
禁用CTRL-F和CTRL-H
在vim81中,如果检测到是windows平台且为gui终端,则会使能ctrl-f的搜索以及ctrl-h的替换功能,可是如果我们不想要这两个功能,则可以将mswin.vim中的以下内容给注释掉:
1 |
|