This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/apps/neovim/init.vim
Daniel Flanagan f2a5060e7d
Things
2020-01-20 11:40:26 -06:00

26 lines
488 B
VimL

let $vimdir = $HOME.'/.vim'
if has('nvim')
let $vimdir = $XDG_CONFIG_HOME.'/nvim'
endif
" load a per-environment file if one exists
if filereadable("$ENV_PATH/vim")
source "$ENV_PATH/vim"
endif
call plug#begin($vimdir.'/bundle')
source $vimdir/plugins.vim
call plug#end()
filetype on
filetype indent on
filetype plugin on
source $vimdir/settings.vim
source $vimdir/commands.vim
source $vimdir/bindings.vim
if filereadable("$ENV_PATH/vim-after")
source "$ENV_PATH/vim-after"
endif