Skip to content

Instantly share code, notes, and snippets.

@tribela
Last active December 26, 2015 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tribela/7200520 to your computer and use it in GitHub Desktop.
Save tribela/7200520 to your computer and use it in GitHub Desktop.
pentadactyl configure file
"1.0rc1
loadplugins '\.(js|penta)$'
group user
highlight Hint font: bold 20px "Source Code Pro", monospace !important; margin: -.2ex; padding: 0 0 0 1px; outline: 1px solid rgba(0, 0, 0, .5); background: rgba(255, 248, 231, .8) !important; color: black !important;
map -count -modes=n j -builtin <count><C-d>
map -count -modes=n k -builtin <count><C-u>
"set autocomplete=
set guioptions=brs
set hintkeys=asdfg;lkjhweio
set hintmatching=firstletters
set scroll=5
set showtabline=multitab
set hinttags+=a:not([name])
set nextpatterns+='^다음'
set previouspatterns+='^이전'
set editor='/usr/local/bin/mvim -f + +"sil! call cursor(0, 0)" '
set passkeys+=mail.google.com:'`~!#*+-./<C-Down><C-s><Enter>?INU[]acefjklmnopqrsuvxyz',*a,*n,*r,*s,*t,*u,ga,gc,gd,gi,gl,gs,gt,yo
set passkeys+=twitter.com:jk.,gr,gh,ga,gf
set passkeys+=plus.google.com:jkonprl<Left><Right><Up><Down>
set passkeys+=irccloud.com:<C-A-Up><C-A-Down>
set strictfocus=
set strictfocus+=twitter.com:laissez-faire,'chrome:*':laissez-faire,*:moderate
nmap -builtin <C-]> <C-v><esc>
imap -builtin <C-]> <esc>
tmap -builtin <C-]> <esc>
imap -builtin <C-p> <esc><C-p>
imap -builtin <C-n> <esc><C-n>
imap <Return> <C-v><Return>
imap <S-Return> <C-v><S-Return>
js hints.addMode('h', "Echo title of element", function (elem) dactyl.echo(elem.title));
se extendedhinttags+=[h]:[title]
js hints.addMode('e', 'Focus input field', function(elem){dactyl.focus(elem);} );
se extendedhinttags+=[e]:input:not([type=hidden]),textarea,button,[role=button],select,[contenteditable]
" vim: set ft=vim:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment