From 13124f03c927be93ccd0759fff1c3e2168b35e4e Mon Sep 17 00:00:00 2001 From: Sebastian Burschel Date: Fri, 5 Mar 2021 23:44:09 +0100 Subject: [PATCH] changed to vimplug and added some packages. --- dotfiles/.vimrc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index 7d82aa2..0b605f4 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -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 map gp :bp " indent for curly brackets: -inoremap { {} +"inoremap { {} " Toggle through splits: nnoremap 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