aboutsummaryrefslogtreecommitdiffhomepage
path: root/vimrc
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-08-12 16:26:37 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-08-12 16:26:37 +0800
commitb728e3eb1e5be9fa50c6e3a5c480ef0b0bafe26d (patch)
treee05e02d46b9e60ef8f43290c96bf110007d0b0a5 /vimrc
parentd1875182a797f23ced226cb50ec6b5956174c592 (diff)
Update
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc43
1 files changed, 0 insertions, 43 deletions
diff --git a/vimrc b/vimrc
deleted file mode 100644
index bfdd212..0000000
--- a/vimrc
+++ /dev/null
@@ -1,43 +0,0 @@
1" Avoid load this script twice
2if get(s:, 'loaded', 0) != 0
3 finish
4else
5 let s:loaded = 1
6endif
7
8" Get current dir
9" let s:home = fnamemodify(resolve(expand('<sfile>:p')), ':h')
10let s:home = '~/.vim/vim-init'
11
12" Load script in current dir
13" command! -nargs=1 LoadScript exec 'so '.s:home.'/'.'<args>'
14
15" Add current dir into runtimepath
16execute 'set runtimepath+='.s:home
17
18
19"----------------------------------------------------------------------
20" Locad Modules
21"----------------------------------------------------------------------
22
23" Basic configuration
24source ~/.vim/vim-init/init/init-basic.vim
25
26" Key mappings
27source ~/.vim/vim-init/init/init-keymaps.vim
28
29" UI
30" source ~/.vim/vim-init/init/init-style.vim
31
32" Extra config for different contexts
33source ~/.vim/vim-init/init/init-config.vim
34
35" 设定 tabsize
36source ~/.vim/vim-init/init/init-tabsize.vim
37
38" Plugins
39source ~/.vim/vim-init/init/init-plugins.vim
40
41" Set UI theme
42colorscheme desert
43highlight MatchParen cterm=bold ctermbg=none ctermfg=magenta