aboutsummaryrefslogtreecommitdiff
path: root/pentadactylrc.dot.link
blob: 482c332aa8ab7f0aa5528f7b5b2876883ced653a (plain)
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
"1.0

" Load plugins
loadplugins '\.(js|penta)$'

" User defined items
group user

" Set title and default search
set defsearch=duck
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$/, '');

" Open a new tab or the homepage
map e :tabopen about:newtab <CR>
map h gH

" Bookmark this page shortcut
comand bmark-this :emenu Menu.Bookmarks.Bookmark This Page

" Bookmark all tabs shortcut
command bmark-all :emenu Menu.Bookmarks.Bookmark All Tabs…

" Send Tab URLs shortcut
" https://addons.mozilla.org/en-US/firefox/addon/send-tab-urls/
command send-tabs :emenu Menu.File.Send Tab URLs...

" Copy URLs shortcut
" https://addons.mozilla.org/en-US/firefox/addon/copyurls/
command copy-urls :emenu Menu.Edit.Copy Urls Expert.Tabs In This Window

" vim: set ft=pentadactyl: