"1.0 " Load plugins loadplugins '\.(js|penta)$' " User defined items group user " Set title and default search set defsearch=duckduckgo set titlestring=Firefox " Show tab numbers " See https://code.google.com/p/dactyl/issues/detail?id=870 set go+=n " Avoid theme overwriting during syncs "set! general.skins.selectedSkin=rein " Copy page title " Thanks to https://github.com/laurentb/public-dotfiles/blob/master/desktop/.pentadactyl/main.penta command yt :yank :echo document.title.replace(/ - Firefox$/, ''); " Copy page as a Markdown link command ymark :yank :echo '[' + document.title.replace(/ - Firefox$/, '') + '](' + buffer.URL + ')'; " Copy page as a Trac wiki link command ytrac :yank :echo '[' + buffer.URL + ' ' + document.title.replace(/ - Firefox$/, '') + ']'; " Copy page for sharing command yshare :yank :echo document.title.replace(/ - Firefox$/, '') + ' - ' + buffer.URL; " Open a new tab or the homepage map e :tabopen about:newtab map h gH " Quit map q :quit " " Shortcuts " " Show all bookmarks shortcut command bmarks-show :emenu Bookmarks.Show All Bookmarks " Bookmark this page shortcut command bmark-this :emenu Bookmarks.Bookmark This Page " Bookmark all tabs shortcut command bmark-all :emenu Bookmarks.Bookmark All Tabs… " Send Tab URLs shortcut " https://addons.mozilla.org/en-US/firefox/addon/send-tab-urls/ command send-tabs :emenu File.Send Tab URLs... " Copy URLs shortcut " https://addons.mozilla.org/en-US/firefox/addon/copyurls/ command copy-urls :emenu Edit.Copy Urls Expert.Tabs In This Window " vim: set ft=pentadactyl: