Add .vimrc
This commit is contained in:
parent
550691dd21
commit
fcdf8c9da0
|
@ -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
|
Loading…
Reference in New Issue