llpp & vimium options

This commit is contained in:
David Chen 2019-11-08 09:40:24 -08:00
parent b098b88909
commit aa64b564c2
2 changed files with 104 additions and 0 deletions

82
llpp.conf Normal file
View file

@ -0,0 +1,82 @@
<llppconfig>
<ui-font size='20'/>
<defaults
width='1200'
height='1000'
scroll-bar-width='7'
scroll-handle-height='12'
horizontal-scrollbar-visible='true'
vertical-scrollbar-visible='true'
case-insensitive-search='true'
preload='true'
page-bias='0'
scroll-step='24'
auto-scroll-step='2'
max-height-fit='true'
highlight-links='false'
under-cursor-info='false'
vertical-margin='2'
zoom='100'
presentation='false'
rotation-angle='0'
fit-model='proportional'
pixmap-cache-size='32M'
tex-count='256'
slice-height='24'
thumbnail-width='76'
background-color='127/127/127'
paper-color='255/255/255/0'
scrollbar-color='163/163/163/178'
scrollbar-handle-color='0/0/0/178'
texture-color='0/0/0/0'
tile-width='2048'
tile-height='2048'
mupdf-store-size='256M'
checkers='true'
aalevel='8'
trim-margins='false'
trim-fuzz='0/0/0/0'
uri-launcher='echo &quot;%s&quot;'
path-launcher='lp &quot;%s&quot;'
color-space='rgb'
invert-colors='false'
brightness='1.000000'
selection-command='LC_CTYPE=UTF-8 xclip -i'
paste-command='LC_CTYPE=UTF-8 xclip -o'
synctex-command='echo SyncTex'
pax-command='cat'
askpass-command=''
savepath-command=''
update-cursor='true'
hint-font-size='12'
horizontal-scroll-step='24'
page-scroll-scale='1.000000'
use-pbo='false'
wheel-scrolls-pages='false'
remote-in-a-new-instance='false'
point-and-x='false'
point-and-x-mark='word'
scroll-bar-on-the-left='false'
last-visit='-9223372036854775808'
edit-annotations-inline='true'
coarse-presentation-positioning='false'
use-document-css='true'>
<keymap mode='global'>
<map in='ctrl-u' out='pgup'/>
<map in='ctrl-e' out='pgdown'/>
</keymap>
<keymap mode='outline'>
<map in='tab' out='esc'/>
</keymap>
<keymap mode='view'>
<map in='tab' out='o'/>
<map in='ctrl-u' out='pgup'/>
<map in='u' out='up'/>
<map in='s' out='b'/>
<map in='n' out='left'/>
<map in='ctrl-e' out='pgdown'/>
<map in='i' out='right'/>
<map in='e' out='down'/>
</keymap>
</defaults>
</llppconfig>

22
vimium-options.json Normal file
View file

@ -0,0 +1,22 @@
{
"settingsVersion": "1.64.6",
"exclusionRules": [
],
"filterLinkHints": false,
"waitForEnterForFilteredHints": true,
"hideHud": false,
"keyMappings": "unmap t\nunmap n\nunmap N\nunmap <c-n>\nunmap B\nunmap l\nunmap <c-r>\n\nmap o Vomnibar.activateInNewTab\nmap O Vomnibar.activate\nmap b Vomnibar.activateBookmarksInNewTab\nmap B Vomnibar.activateBookmarks\nmap <c-p> Vomnibar.activateTabSelection\nmap l goBack\nmap h goForward\nmap u scrollUp\nmap e scrollDown\nmap U scrollUp count=4 #scrollFullPageUp\nmap E scrollDown count=4 #FullPageDown\nmap n scrollLeft\nmap i scrollRight\nmap Q removeTab\nmap ti nextTab\nmap tn previousTab\nmap tu createTab\nmap te moveTabToNewWindow\nmap tmn moveTabLeft\nmap tmi moveTabRight\nmap = performFind\nmap - performBackwardsFind\nmap k focusInput\n# map k enterInsertMode\nmap v enterVisualMode\nmap V enterVisualLineMode",
"linkHintCharacters": "tneiouywmrc",
"linkHintNumbers": "0123456789",
"newTabUrl": "about:newtab",
"nextPatterns": "next,more,newer,>,,→,»,≫,>>",
"previousPatterns": "prev,previous,back,older,<,,←,«,≪,<<",
"regexFindMode": false,
"ignoreKeyboardLayout": false,
"scrollStepSize": 70,
"smoothScroll": true,
"grabBackFocus": false,
"searchEngines": "w: https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia\n\n# More examples.\n#\n# (Vimium supports search completion Wikipedia, as\n# above, and for these.)\n#\n# g: https://www.google.com/search?q=%s Google\n# l: https://www.google.com/search?q=%s&btnI I'm feeling lucky...\n# y: https://www.youtube.com/results?search_query=%s Youtube\n# gm: https://www.google.com/maps?q=%s Google maps\n# b: https://www.bing.com/search?q=%s Bing\n# d: https://duckduckgo.com/?q=%s DuckDuckGo\n# az: https://www.amazon.com/s/?field-keywords=%s Amazon\n# qw: https://www.qwant.com/?q=%s Qwant",
"searchUrl": "https://www.google.com/search?q=",
"userDefinedLinkHintCss": "div > .vimiumHintMarker {\n/* linkhint boxes */\nbackground: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF785),\n color-stop(100%,#FFC542));\nborder: 1px solid #E3BE23;\n}\n\ndiv > .vimiumHintMarker span {\n/* linkhint text */\ncolor: black;\nfont-weight: bold;\nfont-size: 12px;\n}\n\ndiv > .vimiumHintMarker > .matchingCharacter {\n}"
}