etc/viebrc

87 lines
2.2 KiB
Plaintext
Raw Normal View History

2020-11-02 18:59:19 +00:00
" Options
" set adblocker=update
set downloadmethod=confirm
set ignorecase
set mouse
set permissioncamera=ask
set permissionmediadevices=allow
set permissionmicrophone=ask
set redirecttohttp
set norestoretabs
set mintabwidth=250
set windowtitle=title
set firefoxmode=google
set restoretabs
set incsearch
2020-11-21 08:43:06 +00:00
colors gebner
2020-11-02 18:59:19 +00:00
set search="https://duckduckgo.com/?q="
set redirects+=^https://(ikea\.\w+/.*)~https://www.$1
" Mappings
nmap <o> <action.toExploreMode>
nmap <t> <action.openNewTab><action.toExploreMode>
nmap <Up> <action.scrollUp>
nmap <Down> <action.scrollDown>
nmap <Left> <action.scrollLeft>
nmap <Right> <action.scrollRight>
nmap <PageUp> <action.scrollPageUp>
nmap <PageDown> <action.scrollPageDown>
nmap <Space> <action.scrollPageDown>
nmap <S-Space> <action.scrollPageUp>
nmap <Home> <action.scrollTop>
nmap <End> <action.scrollBottom>
map <F3> <action.nextSearchMatch>
" map <F3> <action.toSearchMode>
map <F5> <action.reload>
map <F6> <action.toExploreMode>
map <F7> <pointer.start>
map <F12> <:devtools>
map <C-PageUp> <action.previousTab>
map <C-PageDown> <action.nextTab>
map <C-F4> <action.closeTab>
map <C-F5> <action.reloadWithoutCache>
map <C-f> <action.toSearchMode>
map <C-h> <:history>
map <C-j> <:downloads>
map <C-k> <action.toExploreMode>
map <C-l> <action.toExploreMode>
map <C-p> <:hardcopy>
" map <C-q> <:quit>
map <C-s> <:write>
map <C-t> <action.openNewTab><action.toExploreMode>
map <C-Tab> <action.nextTab>
map <C-S-PageUp> <action.moveTabBackward>
map <C-S-PageDown> <action.moveTabForward>
map <C-S-Tab> <action.previousTab>
map <C-I> <:devtools>
map <C-T> <action.reopenTab>
map <C-Y> <:downloads>
map <A-Left> <action.backInHistory>
map <A-Right> <action.forwardInHistory>
map <A-0> <:b 9999>
map <A-1> <:b 0>
map <A-2> <:b 1>
map <A-3> <:b 2>
map <A-4> <:b 3>
map <A-5> <:b 4>
map <A-6> <:b 5>
map <A-7> <:b 6>
map <A-8> <:b 7>
map <A-9> <:b 8>
" map <A-F4> <:quit>
" map <M-Q> <:quit>
cmap <Up> <action.prevSuggestion>
cmap <Down> <action.nextSuggestion>
2020-11-02 18:59:19 +00:00
emap <F6> <action.toNormalMode>
emap <Up> <action.prevSuggestion>
emap <Down> <action.nextSuggestion>
pmap <F7> <action.toNormalMode>
vmap <F7> <action.toNormalMode>
pmap d <pointer.downloadLink>
pmap D <pointer.downloadImage>
2020-11-02 18:59:19 +00:00
" vim: ft=vim