-
Notifications
You must be signed in to change notification settings - Fork 0
/
pentadactylrc
44 lines (35 loc) · 1.68 KB
/
pentadactylrc
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
:loadplugins
colorscheme solarized-dark
set guioptions-=rb
set popups=tab,resized
set complete=slfS
set newtab+=help
set activate+=links
set hintkeys=asdfghjkl
set passkeys+='google\.com\/reader':jkraevm?
set passkeys+='mail\.google\.com/mail':c/jkhnpouelxsfra#`[]z?\*nrgidIU+-=<Tab><Return>,gi
set passkeys+='play\.google\.com/music':<Space>/=-<Right><Left>?
set passkeys+='www\.pandora\.com':<Space><Right><Left>+-<Up><Down>
set passkeys+='netvibes\.com':jkl<Up><Down><Left><Right><Space>
set passkeys+='cloud\.feedly\.com/':jknpovmxser,gm,ga,gg
set passkeys+='feedly\.com/':jknpovmxser,gm,ga,gg
set tabclose=opener,previous,left
set pageinfo+=hH
set hlfind
set incfind
set findcase=smart
set noerrorbells
set visualbell
highlight Bell display: none;
map J :tabprevious<cr>
map K :tabnext<cr>
map d -ex tabclose
" highlight Hint font-family: sans-serif; font-size: 13px; font-weight: normal; color: black; background-color: #fffcc8 !important; border: 1px solid black; padding: 2px; line-height: 13px; text-transform: none;
" highlight HintActive background-color: rgba(0,0,0,0) !important;
" highlight HintElem background-color: rgba(0,0,0,0) !important;
" zoom an image to 100% when FF sizes it to fit
nmap <leader>z :js window.content.document.toggleImageSize();<CR>
" auto enable passthru on glitch.com/game
autocmd LocationChange 'glitch\.com/game' :normal! <C-z>
" Readability
command! rdb :open javascript:(function(){window.baseUrl='https://www.readability.com';window.readabilityToken='';var s=document.createElement('script');s.setAttribute('type','text/javascript');s.setAttribute('charset','UTF-8');s.setAttribute('src',baseUrl+'/bookmarklet/read.js');document.documentElement.appendChild(s);})()