Modify .vimrc
This commit is contained in:
parent
bf494a94a1
commit
22e2464424
20
.vimrc
20
.vimrc
@ -1,15 +1,14 @@
|
|||||||
set nocompatible
|
|
||||||
filetype on
|
filetype on
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
filetype indent on
|
filetype indent on
|
||||||
syntax on
|
syntax on
|
||||||
|
set nocompatible
|
||||||
set number
|
set number
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set expandtab
|
set expandtab
|
||||||
set nobackup
|
set nobackup
|
||||||
set scrolloff=10
|
set scrolloff=10
|
||||||
set nowrap
|
|
||||||
set incsearch
|
set incsearch
|
||||||
set showcmd
|
set showcmd
|
||||||
set showmode
|
set showmode
|
||||||
@ -18,15 +17,8 @@ set hlsearch
|
|||||||
set wildmenu
|
set wildmenu
|
||||||
set wildmode=list:longest
|
set wildmode=list:longest
|
||||||
set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx
|
set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx
|
||||||
|
|
||||||
if has('termguicolors')
|
|
||||||
set termguicolors
|
|
||||||
endif
|
|
||||||
|
|
||||||
set background=dark
|
set background=dark
|
||||||
|
|
||||||
let g:everforest_background='hard'
|
|
||||||
let g:everforest_better_performance=1
|
|
||||||
|
|
||||||
|
|
||||||
" PLUGINS ---------------------------------------------------------------- {{{
|
" PLUGINS ---------------------------------------------------------------- {{{
|
||||||
@ -34,9 +26,14 @@ let g:everforest_better_performance=1
|
|||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
|
|
||||||
Plug 'preservim/nerdtree'
|
Plug 'preservim/nerdtree'
|
||||||
|
Plug 'dense-analysis/ale'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
let g:everforest_background='hard'
|
||||||
|
let g:everforest_better_performance=1
|
||||||
|
let g:ale_python_flake8_options = '--max-line-length=120'
|
||||||
|
let g:rainbow_active = 1
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
@ -60,6 +57,11 @@ augroup filetype_vim
|
|||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
|
||||||
|
if has('termguicolors')
|
||||||
|
set termguicolors
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
au BufRead /tmp/mutt-* set tw=144
|
au BufRead /tmp/mutt-* set tw=144
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user