更改vim配置
(2023-10-07 02:17:07)分类: 安全 |
vi /etc/vim/vimrc
set termencoding=utf-8
set encoding=utf-8
set nu
set number
set cursorline
set mouse=a
set selection=exclusive
set selectmode=mouse,key
set showmatch
set tabstop=4
set shiftwidth=4
set autoindent
set listchars=tab:>-,trail:-
set ruler
syntax on
set completeopt=preview,menu
set clipboard+ =unnamed
set noswapfile
highlight LineNr term=underline ctermfg=13 guifg=#ffa0a0
set encoding=utf-8
set nu
set number
set cursorline
set mouse=a
set selection=exclusive
set selectmode=mouse,key
set showmatch
set tabstop=4
set shiftwidth=4
set autoindent
set listchars=tab:>-,trail:-
set ruler
syntax on
set completeopt=preview,menu
set clipboard+ =unnamed
set noswapfile
highlight LineNr term=underline ctermfg=13 guifg=#ffa0a0