Vim 使用记录

Git 中使用的 vim 配置(C:\Users\vn53a8e\.vim\vimrc)

set shiftwidth=4
set nu
set rnu
set ruler
set showmode
set showcmd
set autoread
set history=10000
set statusline=%-040.40(%F%m%)%-030.30([%l,%c]%)%p%%
set laststatus=2
set cursorline
autocmd ColorScheme * highlight! Cursorline cterm=bold ctermbg=236 guibg=Grey90
autocmd ColorScheme * highlight! CursorLineNr cterm=bold ctermfg=159 ctermbg=236 guibg=Grey90
set guicursor=i:block-iCursor-blinkon0,v:block-vCursor,c:ver50-ncvCursor
" 折叠 https://www.bilibili.com/read/cv14135494
set foldcolumn=4
" 就在最左边有4列专门负责打开和关闭折叠的显示
set foldmethod=indent
" 强制设置为缩进折叠 set foldlevel
=1
" 折叠层次 全部折叠,0 全部打开

set encoding=utf-8
set langmenu=zh_CN.UTF-8
language message zh_CN.UTF-8

 

posted @ 2022-05-16 16:19  游小刀  阅读(21)  评论(0编辑  收藏  举报
levels of contents