-
Notifications
You must be signed in to change notification settings - Fork 0
/
.viebrc
125 lines (117 loc) · 2.87 KB
/
.viebrc
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
" Options
set adblocker=update
set devtoolsposition=split
set downloadmethod=confirm
set firefoxmode=always
set fontsize=16
set norestoretabs
set permissioncamera=ask
set permissiondisplaycapture=ask
set permissionmediadevices=allow
set permissionmicrophone=ask
set permissionpersistentstorage=allow
set redirecttohttp
set tabclosefocusright
set tabreopenposition=right
set windowtitle=full
set mapsuggestposition=bottomleft
" Mappings
nmap <Up> <scrollUp>
nmap <Down> <scrollDown>
nmap <Left> <scrollLeft>
nmap <Right> <scrollRight>
nmap <PageUp> <scrollPageUp>
nmap <PageDown> <scrollPageDown>
nmap <Home> <scrollTop>
nmap <End> <scrollBottom>
nmap wi <:devtools>
nmap <C-I> <:devtools>
nmap <C-PageUp> <previousTab>
nmap <C-S-Tab> <previousTab>
nmap <C-PageDown> <nextTab>
nmap <C-F5> <reloadWithoutCache>
nmap Sh <:history>
nmap Ss <:help>
nmap <C-A-p> <:print>
nmap <C-q> <:quit>
nmap <C-W> <:quit>
nmap ZQ <:quit>
nmap gd <:write>
nmap <C-T> <reopenTab>
nunmap [
nunmap ]
nunmap {
nunmap }
nmap [[ <previousPage>
nmap ]] <nextPage>
nmap {{ <previousPageNewTab>
nmap }} <nextPageNewTab>
nmap gu <toParentUrl>
nmap gU <toParentUrl><openNewTabWithCurrentUrl><CR><toLastUsedTab><backInHistory><toLastUsedTab>
nmap <A-1> <:b 0>
nmap g0 <:b 0>
nmap g^ <:b -1>
nmap g$ <:b -1>
nmap <A-2> <:b 1>
nmap <A-3> <:b 2>
nmap <A-4> <:b 3>
nmap <A-5> <:b 4>
nmap <A-6> <:b 5>
nmap <A-7> <:b 6>
nmap <A-8> <:b 7>
nmap <A-9> <:b 8>
nmap <C-^> <toLastUsedTab>
nmap <C-Tab> <toLastUsedTab>
nmap ga <openNewTab>
nmap gC <openNewTabWithCurrentUrl><CR>
nmap gJ <moveTabForward>
nmap gK <moveTabBackward>
nmap <C-S-PageUp> <moveTabForward>
nmap <C-S-PageDown> <moveTabBackward>
" This is disabled as it prevents use of window split mappings.
" See :h splitting for more information on window splits
" nmap <C-w> <:close>
nmap co <:lclose><:rclose>
nmap = <zoomReset>
nmap <C-p> <:pin>
nmap <A-m> <:mute>
nmap <C-s> <stopLoadingPage>
nmap o <toExploreMode><BS>
nmap go <toExploreMode><End>
nmap gt <toCommandMode>buffer<Space>
nmap O <openNewTab><toExploreMode>
nunmap p
nmap pp <openFromClipboard>
nmap Pp <openNewTab><openFromClipboard>
nmap sk <toCommandMode>map<Space>
nmap ss <toCommandMode>set<Space>
imap <C-e> <editWithVim>
cmap <Up> <prevSuggestion>
cmap <Down> <nextSuggestion>
cmap <C-a> <Home>
cmap <C-e> <End>
cmap <A-f> <C-Right>
cmap <A-b> <C-Left>
cmap <A-d> <C-S-Right><BS>
cmap <A-BS> <C-S-Left><BS>
cmap <C-?> <Del>
cmap <C-h> <BS>
cmap <C-b> <Left>
cmap <C-f> <Right>
cmap <C-k> <S-End><BS>
cmap <C-u> <S-Home><BS>
cmap <C-w> <C-S-Left><BS>
cmap <C-e> <editWithVim>
emap <C-e> <editWithVim>
emap <C-Tab> <nextSuggestionSection>
emap <C-S-Tab> <prevSuggestionSection>
smap <C-e> <editWithVim>
pmap c <toNormalMode>
pmap e <p.moveFastRight>
pmap H <p.scrollLeft>
pmap L <p.scrollRight>
pmap <Space> <p.startVisualSelect>
vmap v <p.start>
vmap <CR> <p.copyText>
vmap <C-Space> <toNormalMode><p.start><p.startVisualSelect>
" vim: ft=vim