linux-vim格式设置

vim ~/.vimrcvim

set nocompatible
set number
filetype on 
set history=1000 
set background=dark 
syntax on 
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
set showmatch
set guioptions-=T
set vb t_vb=
set ruler
set nohls
set incsearch
if has("vms")
	set nobackup
else
	set backup
endif

配置完后的结果图bash

格式化全文: gg=Gui

自动缩进当前行: ==blog

相关文章
相关标签/搜索