-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.vim
executable file
·52 lines (43 loc) · 1.41 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
" _
" _ __ ___ _____ _(_)_ __ ___
" | '_ \ / _ \/ _ \ \ / / | '_ ` _ \
" | | | | __/ (_) \ V /| | | | | | |
" |_| |_|\___|\___/ \_/ |_|_| |_| |_|
"
"
" __________________________________________
" / Here is my neovim configuration with \
" | comments, remember to check before using |
" | the configuration. |
" \ --Zachary /
" ------------------------------------------
" \ ,__,
" \ (oo)____
" (__) )\
" ||--|| *
"
"let g:python_host_prog="/usr/bin/python2.7"
"let g:python3_host_prog="/usr/bin/python3.8"
" Load enviroment.
lua require('env')
" load nvim base setting.
lua require('settings')()
" load plugins.
lua require('plugin')
"command! PackerInstall packadd packer.nvim | lua require('plugin').install()
"command! PackerUpdate packadd packer.nvim | lua require('plugin').update()
"command! PackerSync packadd packer.nvim | lua require('plugin').sync()
"command! PackerClean packadd packer.nvim | lua require('plugin').clean()
"command! PackerCompile packadd packer.nvim | lua require('plugin').compile()
" load auto groups.
exec 'source ' . g:nvim_path . '/augroups.vim'
" experimental
set foldmethod=manual " option: [manual indent marker]
set re=1
set ttyfast
set lazyredraw
exec "nohlsearch"
if has('persistent_undo')
set undofile
set undodir=$HOME/.tmp/undo
endif