vim: set notexists to +, add vim-fugitive
This commit is contained in:
4
vimrc
4
vimrc
@@ -53,6 +53,8 @@ Plug 'tpope/vim-surround'
|
|||||||
Plug 'elkowar/yuck.vim'
|
Plug 'elkowar/yuck.vim'
|
||||||
Plug 'neoclide/coc.nvim', {'branch': 'release', 'do': 'npm ci'}
|
Plug 'neoclide/coc.nvim', {'branch': 'release', 'do': 'npm ci'}
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
|
Plug 'tpope/vim-fugitive'
|
||||||
|
"Plug 'airblade/vim-gitgutter'
|
||||||
Plug 'skywind3000/asyncrun.vim'
|
Plug 'skywind3000/asyncrun.vim'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
@@ -284,7 +286,7 @@ let g:airline_mode_map={'s': '选择', 'V': '可视 行', 'ni': '(插入)', 'ic'
|
|||||||
|
|
||||||
let g:airline_section_z='共%L行 %4l行%3v列 %3p%%'
|
let g:airline_section_z='共%L行 %4l行%3v列 %3p%%'
|
||||||
|
|
||||||
let g:airline_symbols={'space': ' ', 'paste': '粘贴', 'maxlinenr': 'Ln', 'dirty': '!', 'crypt': '加密', 'linenr': 'Cln', 'readonly': '[只读]', 'spell': '拼写', 'modified': '*', 'notexists': '不存在', 'keymap': 'Keymap:', 'ellipsis': '...', 'branch': '分支', 'whitespace': '空格', 'executable': '+x'}
|
let g:airline_symbols={'space': ' ', 'paste': '粘贴', 'maxlinenr': 'Ln', 'dirty': '!', 'crypt': '加密', 'linenr': 'Cln', 'readonly': '[只读]', 'spell': '拼写', 'modified': '*', 'notexists': '+', 'keymap': 'Keymap:', 'ellipsis': '...', 'branch': '#', 'whitespace': '空格', 'executable': '+x'}
|
||||||
|
|
||||||
let g:airline#extensions#whitespace#enabled = 0
|
let g:airline#extensions#whitespace#enabled = 0
|
||||||
let g:airline#extensions#whitespace#trailing_format='[%s] 行尾冗余'
|
let g:airline#extensions#whitespace#trailing_format='[%s] 行尾冗余'
|
||||||
|
Reference in New Issue
Block a user