Update .vimrc

This commit is contained in:
daniele 2023-06-02 18:22:40 +02:00
parent 2a9b9fc7e6
commit ef2bbae2e4
Signed by: fuxino
GPG Key ID: 981A2B2A3BBF5514

10
.vimrc
View File

@ -7,7 +7,9 @@ set number
set shiftwidth=4
set tabstop=4
set expandtab
set nobackup
set backup
set backupdir=~/.vim/backup/
set directory=/tmp
set scrolloff=10
set incsearch
set showcmd
@ -16,7 +18,7 @@ set showmatch
set hlsearch
set wildmenu
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,*.mp4,*.zip,*.iso,*.odt,*.tar,*.gz,*.xz,*.bz2,*.zst,*.rar,*.m4a,*.bmp,*.ogg,*.mp3,*.flv
set background=dark
@ -56,6 +58,10 @@ augroup filetype_vim
autocmd FileType vim setlocal foldmethod=marker
augroup END
if !isdirectory("$HOME/.vim/backup")
silent! execute "!mkdir ~/.vim/backup"
endif
if has('termguicolors')
set termguicolors