Skip to content

Instantly share code, notes, and snippets.

Created December 29, 2012 06:34
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 anonymous/4404980 to your computer and use it in GitHub Desktop.
Save anonymous/4404980 to your computer and use it in GitHub Desktop.
"1.0rc1
loadplugins '\.(js|penta)$'
group user
command! -description='Reload _pentadactyl rc file' fresh source $HOME/_pentadactylrc
command! -description='Open _pentadactylrc file' rc -javascript gBrowser.selectedTab = gBrowser.addTab("file:///"+Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties).get("ProfD", Components.interfaces.nsIFile).path+"/_pentadactylrc");
map -count -modes=c,i,n,t,v <C-a> <Pass>
map -count -modes=c,i,n,t,v <C-c> <Pass>
map -count -modes=c,i,t <C-v> <Pass>
map -count -modes=c,i,t <C-x> <Pass>
map -count -modes=c,i,t <C-z> <Pass>
map -count -modes=n,v d -builtin <count>D
map -count -modes=n,v D -builtin <count>d
map -count -modes=n,v p -builtin <count>P
map -count -modes=n,v P -builtin <count>p
map -count -modes=n,v j -builtin <count>7j
map -count -modes=n,v k -builtin <count>7k
map -count -modes=n h -builtin <count><count>gT
map -count -modes=n l -builtin <count><count>gt
map -modes=n,v t -javascript content.getSelection().toString()!=""?dactyl.execute(":tabopen "+ content.getSelection()):CommandExMode().open("tabopen ")
map -modes=n,v o -javascript content.getSelection().toString()!=""?dactyl.execute(":open "+ content.getSelection()):CommandExMode().open("open ")
set guioptions=bCrscTB
set hlfind
set passkeys=www.google.com/reader/:jk
set passkeys=mail.google.com/mail/:jk
set hintkeys=qwertyuiopasdfghjklzxc23456789
highlight Hint font: bold 12px "Droid Sans Mono", monospace !important; margin: -.2ex; padding: 0 0 0 1px; outline: 1px solid rgba(0, 102, 187, .5); background: rgba(255, 248, 231, .8); color: blue; text-transform: uppercase;
set runtimepath=~/pentadactyl,$HOME
style chrome://* #dactyl-commandline-command input {ime-mode: inactive;}
style chrome://* #dactyl-statusline-field-commandline-command input {ime-mode: inactive;}
" vim: set ft=pentadactyl:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment