-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.vim
More file actions
31 lines (27 loc) · 898 Bytes
/
init.vim
File metadata and controls
31 lines (27 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
"" This is neovim plugin file
"" Do not set the settings here
" Python path elsewhere cuz I use Anaconda
if has('unix')
let g:python3_host_prog = '/usr/bin/python3'
else
let g:python3_host_prog = '$SystemDrive/tools/Anaconda3/python.exe'
endif
" source $HOME/.config/nvim/plugins.vim " No more dein
if has('win32')
source $HOME\AppData\Local\nvim\plugs.vim
source $HOME\AppData\Local\nvim\general.vim
source $HOME\AppData\Local\nvim\keys.vim
source $HOME\AppData\Local\nvim\plug_config.vim
source $HOME\AppData\Local\nvim\file_type.vim
else
source $HOME/.config/nvim/plugs.vim
source $HOME/.config/nvim/general.vim
source $HOME/.config/nvim/keys.vim
source $HOME/.config/nvim/plug_config.vim
source $HOME/.config/nvim/file_type.vim
endif
"" Custom functions
"" ================
command NF :set nofoldenable
nmap <leader>gq mygggqG`y
command! PU PlugUpdate | PlugUpgrade