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

29 lines
515 B
VimL
Raw Normal View History

2020-02-13 11:14:03 -06:00
scriptencoding utf-8
set fileencoding=utf8
let $vimdir = $HOME.'/.vim'
if has('nvim')
2020-01-20 11:40:26 -06:00
let $vimdir = $XDG_CONFIG_HOME.'/nvim'
endif
if filereadable("$ENV_PATH/vim")
source "$ENV_PATH/vim"
2018-11-01 22:44:07 -05:00
endif
2020-01-20 11:40:26 -06:00
call plug#begin($vimdir.'/bundle')
source $vimdir/plugins.vim
2020-11-05 21:13:39 -06:00
source $vimdir/airline.vim
2018-11-01 22:44:07 -05:00
call plug#end()
filetype on
filetype indent on
filetype plugin on
2020-01-20 11:40:26 -06:00
source $vimdir/settings.vim
source $vimdir/commands.vim
source $vimdir/bindings.vim
2020-01-20 11:40:26 -06:00
if filereadable("$ENV_PATH/vim-after")
source "$ENV_PATH/vim-after"
2018-11-08 07:32:36 -06:00
endif