0%

Ubuntu 配置Vim

环境

Ubuntu 20.04 LTS

常用配置

编辑文件vi ~/.vimrc

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
syntax enable
set nu
set syntax=on
set showcmd
set autoread
set nobackup
set ruler
set cursorline
set magic
set noeb
set smartindent
set autoindent
set shiftwidth=4
set tabstop=4
set mouse=a
set hlsearch
filetype on