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