From 22e246442458a0c77bfcd71001e3d6f7032c6562 Mon Sep 17 00:00:00 2001 From: Daniele Fucini Date: Wed, 31 May 2023 18:07:36 +0200 Subject: [PATCH] Modify .vimrc --- .vimrc | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.vimrc b/.vimrc index 8bc1b89..abb6d2b 100644 --- a/.vimrc +++ b/.vimrc @@ -1,15 +1,14 @@ -set nocompatible filetype on filetype plugin on filetype indent on syntax on +set nocompatible set number set shiftwidth=4 set tabstop=4 set expandtab set nobackup set scrolloff=10 -set nowrap set incsearch set showcmd set showmode @@ -18,15 +17,8 @@ set hlsearch set wildmenu set wildmode=list:longest set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx - -if has('termguicolors') - set termguicolors -endif - set background=dark -let g:everforest_background='hard' -let g:everforest_better_performance=1 " PLUGINS ---------------------------------------------------------------- {{{ @@ -34,9 +26,14 @@ let g:everforest_better_performance=1 call plug#begin('~/.vim/plugged') Plug 'preservim/nerdtree' +Plug 'dense-analysis/ale' 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 +if has('termguicolors') + set termguicolors +endif + + au BufRead /tmp/mutt-* set tw=144 " }}}