|
|
|
@ -1,10 +1,14 @@
|
|
|
|
|
set fileencoding=utf-8 |
|
|
|
|
|
|
|
|
|
" I have no idea how to auto-install vim-plug on Windows |
|
|
|
|
" so you will have to install it manually. |
|
|
|
|
if !(has('win16') || has('win32') || has('win64')) |
|
|
|
|
if empty(glob('~/.config/nvim/autoload/plug.vim')) |
|
|
|
|
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs |
|
|
|
|
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |
|
|
|
|
autocmd VimEnter * PlugInstall | source % |
|
|
|
|
endif |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
call plug#begin('~/.config/nvim/plugged') |
|
|
|
|
|
|
|
|
@ -66,7 +70,6 @@ Plug 'ktvoelker/sbt-vim'
|
|
|
|
|
" Org Mode |
|
|
|
|
Plug 'jceb/vim-orgmode' |
|
|
|
|
|
|
|
|
|
if !has("win32") || !has("win16") |
|
|
|
|
"Code Completion |
|
|
|
|
" Post-update hook for YCM |
|
|
|
|
" Make sure to sudo pip install neovim before running this |
|
|
|
@ -89,7 +92,6 @@ if !has("win32") || !has("win16")
|
|
|
|
|
" Use <c-h> <c-j> <c-k> <c-l> |
|
|
|
|
" to move between window panes in tmux or vim |
|
|
|
|
Plug 'christoomey/vim-tmux-navigator' |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
" Markdown |
|
|
|
|
Plug 'godlygeek/tabular' |
|
|
|
|