1
0
mirror of https://github.com/ViViDboarder/vim-settings.git synced 2025-01-10 02:07:37 +00:00
vim-settings/vim/rc/init.rc.vim
ViViDboarder 41ef5dc30f Simplify plugin config
Remove all the ide toggle flags. I wasn't using them
2021-08-24 09:56:36 -07:00

21 lines
478 B
VimL

"Allows filetype detection
filetype on
filetype plugin indent on
" Set backup dirs
set backup
if has('nvim')
set backupdir=~/.config/nvim/backup
set directory=~/.config/nvim/tmp
set viminfo='100,n~/.config/nvim/tmp/viminfo.nvim
else
set backupdir=~/.vim/backup
set directory=~/.vim/tmp
set viminfo='100,n~/.vim/tmp/viminfo.vim
endif
" Filetype extension overrides
augroup syntax_overrides
au BufRead,BufNewFile *.md set syntax=markdown
augroup end