Files
dotfiles/.vimrc

80 lines
1.3 KiB
VimL
Raw Normal View History

2023-05-30 18:27:14 +02:00
filetype on
filetype plugin on
filetype indent on
syntax on
2023-05-31 18:07:36 +02:00
set nocompatible
2023-05-30 18:27:14 +02:00
set number
set shiftwidth=4
set tabstop=4
set expandtab
set nobackup
set scrolloff=10
set incsearch
set showcmd
set showmode
set showmatch
set hlsearch
set wildmenu
set wildmode=list:longest
set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx
set background=dark
" PLUGINS ---------------------------------------------------------------- {{{
call plug#begin('~/.vim/plugged')
Plug 'preservim/nerdtree'
2023-05-31 18:07:36 +02:00
Plug 'dense-analysis/ale'
2023-05-30 18:27:14 +02:00
call plug#end()
2023-05-31 18:07:36 +02:00
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
2023-05-30 18:27:14 +02:00
" }}}
" MAPPINGS --------------------------------------------------------------- {{{
" Mappings code goes here.
" }}}
" VIMSCRIPT -------------------------------------------------------------- {{{
" This will enable code folding.
" Use the marker method of folding.
augroup filetype_vim
autocmd!
autocmd FileType vim setlocal foldmethod=marker
augroup END
2023-05-31 18:07:36 +02:00
if has('termguicolors')
set termguicolors
endif
2023-05-30 18:27:14 +02:00
au BufRead /tmp/mutt-* set tw=144
" }}}
" STATUS LINE ------------------------------------------------------------ {{{
" Status bar code goes here.
" }}}
colorscheme everforest