Vim 基础配置
" 语法高亮 syntax enable syntax on set t_Co=256 " 背景 set background=dark "colorscheme dark set termguicolors set backspace=indent,eol,start set clipboard=unnamed set mouse=a set title set autoread set history=1000 set formatoptions+=j "set shell set tabstop=4 set expandtab set shiftwidth=4 set softtabstop=4 set modelines=1 filetype plugin on filetype indent on set autoindent set shiftround set smarttab set number set showcmd set showmatch set cursorline set wildmenu set lazyredraw set complete-=i "set fillchars+=vert:| set laststatus=2 set ruler set display+=lastline set encoding=utf-8 set linebreak "set scrolloff set sidescrolloff=5 set wrap set ignorecase set incsearch set hlsearch set smartcase set noerrorbells set foldmethod=indent set foldnestmax=10 set foldenable nnoremap <space> za set foldlevelstart=10 set nobackup set noswapfile