add viebrc
This commit is contained in:
parent
9908b0cdd2
commit
e244e4dafc
2
Makefile
2
Makefile
@ -5,7 +5,7 @@ FILES = bashrc bash_profile vimrc zshrc gitconfig screenrc commonshrc liquidprom
|
||||
config/khal config/vdirsyncer/config config/khard \
|
||||
config/rofi-pass gdbinit notmuch-config \
|
||||
config/fish tridactylrc config/sway/config config/mpv/mpv.conf \
|
||||
config/wofi config/waybar \
|
||||
config/wofi config/waybar viebrc \
|
||||
$(wildcard sbt/0.13/*.sbt sbt/0.13/plugins/*.sbt) \
|
||||
$(wildcard sbt/1.0/plugins/*.sbt)
|
||||
|
||||
|
82
viebrc
Normal file
82
viebrc
Normal file
@ -0,0 +1,82 @@
|
||||
" 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
|
||||
|
||||
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.commandHistoryPrevious>
|
||||
cmap <Down> <action.commandHistoryNext>
|
||||
emap <F6> <action.toNormalMode>
|
||||
emap <Up> <action.prevSuggestion>
|
||||
emap <Down> <action.nextSuggestion>
|
||||
pmap <F7> <action.toNormalMode>
|
||||
vmap <F7> <action.toNormalMode>
|
||||
|
||||
" vim: ft=vim
|
Loading…
Reference in New Issue
Block a user