-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.vim
26 lines (25 loc) · 1.01 KB
/
init.vim
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
" __ ____ __ _ ___ _____ __ __
" | \/ \ \ / / | \ | \ \ / /_ _| \/ |
" | |\/| |\ V / | \| |\ \ / / | || |\/| |
" | | | | | | | |\ | \ V / | || | | |
" |_| |_| |_| |_| \_| \_/ |___|_| |_|
"
" execute when open file in vim
exec "nohlsearch"
" and auto install plug in when first time open nvim in a new computer
if has("win64")
source $HOME\AppData\Local\nvim\general\generalSettings.vim
source $HOME\AppData\Local\nvim\keysMapping\keysMapping.vim
source $HOME\AppData\Local\nvim\plug-in\plug-in.vim
source $HOME\AppData\Local\nvim\plug-in\plug-inSettings.vim
source $HOME\AppData\Local\nvim\theme\github.vim
else
source $HOME/.config/nvim/general/generalSettings.vim
source $HOME/.config/nvim/keysMapping/keysMapping.vim
" plug-in and settings
source $HOME/.config/nvim/plug-in/plug-in.vim
source $HOME/.config/nvim/plug-in/plug-inSettings.vim
source $HOME/.config/nvim/theme/catppuccin-mocha.vim
" source $HOME/.config/nvim/theme/xcode.vim
source $HOME/.config/nvim/theme/github.vim
endif