aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2018-10-07 12:45:21 +0800
committertypebrook <typebrook@gmail.com>2018-10-07 12:45:21 +0800
commitc75a050a488107a381700e48645a718d4efbd388 (patch)
tree6a3c1af8dd7981ad29ec6cbae3618c917fc40b4d
parent267995f6c0114f404083cf8b1fc8808c4a9db41c (diff)
update
-rw-r--r--.vimrc19
1 files changed, 19 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 4746e15..e0141e1 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,3 +1,6 @@
1"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
2" => Config from amix
3"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
1set runtimepath+=~/.vim_runtime 4set runtimepath+=~/.vim_runtime
2 5
3source ~/.vim_runtime/vimrcs/basic.vim 6source ~/.vim_runtime/vimrcs/basic.vim
@@ -10,5 +13,21 @@ source ~/.vim_runtime/my_configs.vim
10catch 13catch
11endtry 14endtry
12 15
16"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
17" => Custom Config
18"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
13set cursorline 19set cursorline
20set number
14set relativenumber 21set relativenumber
22
23"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
24" => Make Alt key works on Gnome terminal
25"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
26" Solution is here: https://stackoverflow.com/questions/6778961
27let c='a'
28while c <= 'z'
29 exec "set <A-".c.">=\e".c
30 exec "imap \e".c." <A-".c.">"
31 let c = nr2char(1+char2nr(c))
32endw
33set timeout ttimeoutlen=50