-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathinit.vim
More file actions
44 lines (32 loc) · 1.61 KB
/
init.vim
File metadata and controls
44 lines (32 loc) · 1.61 KB
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
" Author: Hanley Lee
" Website: https://www.hanleylee.com
" GitHub: https://github.com/hanleylee
" License: MIT License
" Vim 配置原则:
" 1. 一定要了解此项能实现什么功能再配置
" 2. 没有必要的插件能不装就不装, 尽量用 Vim 原生功能
exec 'source ' . expand('$HOME/.vim/main/preinit.vim')
"███████████████████████ Source Load File ██████████████████████████{{{
"======================= Variable ============================
call Source('$HOME/.vim/main/variable.vim')
"======================= Options ============================
call Source('$HOME/.vim/main/options.vim')
"======================= Plugin ============================
call Source('$HOME/.vim/main/plugin.vim')
"======================= Path ============================
call Source('$HOME/.vim/main/path.vim')
"======================= Terminal Keycode ============================
if g:is_in_term
call Source('$HOME/.vim/main/term_keycode.vim')
endif
"======================= GUI Keycode ============================
call Source('$HOME/.vim/main/gui_keymap.vim')"
"======================= Keymap ============================
call Source('$HOME/.vim/main/keymap.vim')
"======================= Command ============================
call Source('$HOME/.vim/main/command.vim')
"======================= Auto ============================
call Source('$HOME/.vim/main/autocmd.vim')
"======================= Appearance ============================
call Source('$HOME/.vim/main/appearance.vim')
"}}}