-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimperatorrc
executable file
·145 lines (112 loc) · 3.91 KB
/
.vimperatorrc
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
"-------------------------"
" Action_Setting "
"-------------------------"
"{{{
" Restore default firefox title
set titlestring=
" Follow Hint ([Ff] key) using Alpha
set hintchars=yjuiopqwertklhgfdsabnmvcxz
set visualbell
" ???
set! ui.key.generalAccessKey=0
set! ui.key.contentAccessKey=0
"}}}
"-------------------------"
" View_Setting "
"-------------------------"
"{{{
" Respected rbtnn [https://github.com/rbtnn/vimrc/blob/master/.vimperatorrc]
highlight Bell display: none;
highlight Boolean color: Chocolate;
highlight CmdLine font-family: monospace; font-size: 9pt; padding: 3px 2px;
highlight CompDesc width: 60%; color: LightGray; font-size: 9pt;
highlight CompItem font-size: 9pt; color: PaleGreen;
highlight CompItem[selected] background-color: DimGray;
highlight CompResult font-family: monospace; width: 35%; overflow: hidden;
highlight CompTitle color: DeepPink; font-size: 11pt;
highlight ErrorMsg background-color: DarkRed;
highlight Function color: RoyalBlue;
highlight Hint font-family: monospace; font-size: 18px; font-weight: bold; color: Blue; background-color: rgba(135, 206, 200, 0.8); border: solid 1px Blue;
highlight HintActive background-color: Orange; color: White;
highlight HintElem background-color: Khaki; color: Black;
highlight InfoMsg background-color: #333;
highlight Keyword color: DodgerBlue;
highlight Message color: LightGray; background-color: #333; font-family: monospace; font-size: 9pt;
highlight ModeMsg background-color: #333;
highlight MoreMsg background-color: #333;
highlight NonText background-color: #333;
highlight Normal color: LightGray; background-color: #333;
highlight Null color: SlateGray;
highlight Number color: Crimson;
highlight Object color: Khaki;
highlight PromptText color: White; background: CornFlowerBlue;
highlight Question color: LightGray; background-color: #333;
highlight StatusLine color: LightGray; background-color: #333; font-size: 9pt; font-family: monospace; font-weight: normal; padding: 2px 3px;
highlight String color: LimeGreen;
highlight Tag color: Orchid;
highlight Title color: DeepPink;
highlight URL color: LimeGreen;
highlight WarningMsg background-color: #333;
"}}}
"-------------------------"
" Key_Mapping "
"-------------------------"
"{{{
let mapleader = '['
nmap <C-j> <CR>
nnoremap <C-c> <Esc>
nnoremap <C-l> <Esc>
nnoremap <leader>l <C-l>
nnoremap < :<C-u>tabmove -1<CR>
nnoremap > :<C-u>tabmove +1<CR>
imap <C-j> <CR>
inoremap <C-c> <Esc>
inoremap <C-l> <Esc>
vmap <C-j> <CR>
vnoremap <C-c> <Esc>
vnoremap <C-l> <Esc>
" Bash like keys
cnoremap <C-p> <S-Up>
cnoremap <C-n> <S-Down>
cnoremap <C-b> <Left>
cnoremap <C-f> <Right>
cnoremap <C-h> <BS>
cnoremap <C-d> <Del>
cnoremap <C-i> <Tab>
cnoremap <C-l> <Esc>
" Previews
nnoremap <silent> g: :<C-u>tabs<CR>
nnoremap <silent> m: :<C-u>marks<CR>
" Movement on the insert mode
inoremap <C-a> <Home>
inoremap <C-e> <End>
inoremap <C-p> <Up>
inoremap <C-n> <Down>
inoremap <C-b> <Left>
inoremap <C-f> <Right>
inoremap <C-h> <BS>
inoremap <C-d> <Del>
inoremap <C-,> <S-Left>
inoremap <C-.> <S-Right>
inoremap <C-(> <S-Up>
inoremap <C-)> <S-Down>
inoremap <C-x> <NOP>
inoremap <C-c> <NOP>
inoremap <C-x><C-a> <C-a>
inoremap <C-x><C-t> <C-x>
inoremap <C-x><C-c> <C-c>
inoremap <C-i> <Tab>
inoremap <C-g> <C-i>
" View Bookmarks
nnoremap <leader>b :<C-u>bmarks<CR>
" Appendent
nnoremap <C-k><C-l> :<C-u>nohlsearch<CR>
"}}}
"-------------------------"
" Command_Util "
"-------------------------"
"{{{
" Easily load this config
command! Reload :execute 'source ' + io.getRCFile().target
"}}}
" vim:ft=vim