changed to vimplug and added some packages.
This commit is contained in:
parent
76aa1919f4
commit
13124f03c9
1 changed files with 8 additions and 4 deletions
|
|
@ -31,11 +31,13 @@ Plug 'mattn/webapi-vim'
|
|||
Plug 'posva/vim-vue'
|
||||
Plug 'scrooloose/nerdtree'
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
Plug 'Townk/vim-autoclose'
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
Plug 'junegunn/gv.vim'
|
||||
Plug 'Yilin-Yang/vim-markbar'
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
|
||||
call plug#end()
|
||||
|
||||
|
|
@ -56,6 +58,7 @@ set laststatus=2 " Always display the status line
|
|||
set autowrite " Automatically :write before running commands
|
||||
set modelines=0 " Disable modelines as a security precaution
|
||||
set nomodeline
|
||||
set cursorline " Highlight the full line the cursor is in
|
||||
|
||||
|
||||
" Switch syntax highlighting on, when the terminal has colors
|
||||
|
|
@ -207,7 +210,7 @@ map gN :bp<cr>
|
|||
map gp :bp<cr>
|
||||
|
||||
" indent for curly brackets:
|
||||
inoremap {<cr> {<cr>}<c-o><s-o>
|
||||
"inoremap {<cr> {<cr>}<c-o><s-o>
|
||||
|
||||
" Toggle through splits:
|
||||
nnoremap <leader>w <C-w>w
|
||||
|
|
@ -249,7 +252,8 @@ let g:ale_linters = {'python': ['flake8', 'mypy', 'pylint', 'prospector']}
|
|||
|
||||
let g:ale_fixers = {'python': ['isort', 'black'],
|
||||
\'json': ['fixjson'],
|
||||
\'java': ['uncrustify']}
|
||||
\'java': ['uncrustify'],
|
||||
\'tex': ['latexindent']}
|
||||
|
||||
|
||||
" Install the linter and fixer for a specific language automatically
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue