vim配置参考

syntax on
set showmode
set showcmd
set mouse=a
set encoding=utf-8
set t_Co=256
filetype indent on
set autoindent
set tabstop=4
set shiftwidth=4
set expandtab
set softtabstop=4
set number
set cursorline
set textwidth=80
set wrap
set ruler
set showmatch
set hlsearch
set incsearch
set ignorecase
set smartcase
set spell spelllang=en_us
set nobackup
set noswapfile

 

 

参考:https://www.ruanyifeng.com/blog/2018/09/vimrc.html

https://www.ruanyifeng.com/blog/2018/09/vimrc.html

posted @ 2024-01-08 10:51  dmesg  阅读(4)  评论(0编辑  收藏  举报