Add .vimrc

This commit is contained in:
The Magician 2023-12-09 20:20:56 +00:00
parent 550691dd21
commit fcdf8c9da0
1 changed files with 23 additions and 0 deletions

23
vim/.vimrc Normal file
View File

@ -0,0 +1,23 @@
set nocompatible
if filereadable(expand('~/.vim/autoload/plug.vim'))
"let g:polyglot_disabled = ['markdown.plugin'] " Disable vim-polyglot's Markdown so we can use vim-pandoc instead
call plug#begin('~/.local/share/vim/plugins')
Plug 'sheerun/vim-polyglot'
Plug 'vim-pandoc/vim-pandoc'
Plug 'mattn/emmet-vim'
Plug 'fatih/vim-go', { 'do': ':GoInstallBinaries' }
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug '~/code/zk.vim/'
call plug#end()
autocmd BufEnter ~/dox/zettelkasten/* set filetype=markdown
endif
set number
set relativenumber