aboutsummaryrefslogtreecommitdiff
path: root/pentadactyl/.pentadactylrc
diff options
context:
space:
mode:
authorAdrian Kummerlaender2016-10-27 22:46:10 +0200
committerAdrian Kummerlaender2016-10-27 22:46:10 +0200
commitfe295226c97d16efa10ee81403852bcca56849da (patch)
tree1ebb7514771a6fff8146a0ae68dd78849eea7e87 /pentadactyl/.pentadactylrc
parent6dfe384b82111e6632ebb7f503d5afb56c09f148 (diff)
downloaddotfiles-fe295226c97d16efa10ee81403852bcca56849da.tar
dotfiles-fe295226c97d16efa10ee81403852bcca56849da.tar.gz
dotfiles-fe295226c97d16efa10ee81403852bcca56849da.tar.bz2
dotfiles-fe295226c97d16efa10ee81403852bcca56849da.tar.lz
dotfiles-fe295226c97d16efa10ee81403852bcca56849da.tar.xz
dotfiles-fe295226c97d16efa10ee81403852bcca56849da.tar.zst
dotfiles-fe295226c97d16efa10ee81403852bcca56849da.zip
pentadactyl: Add `explore` command for opening random archive entry
Diffstat (limited to 'pentadactyl/.pentadactylrc')
-rw-r--r--pentadactyl/.pentadactylrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/pentadactyl/.pentadactylrc b/pentadactyl/.pentadactylrc
index ba819a6..243fa25 100644
--- a/pentadactyl/.pentadactylrc
+++ b/pentadactyl/.pentadactylrc
@@ -55,9 +55,14 @@ var entry = '\\n'
dactyl.execute('!echo -e "' + entry.replace('"', '\"') + '" >> ~/note/src/quote/inbox.wiki');
EOF
+command! explore -js <<EOF
+dactyl.execute('!random-bookmark');
+EOF
+
map -builtin -ex <F8> :reader
map -builtin -ex <F9> :emenu View.Tabbar
map -builtin -ex <F10> :emenu ScrapBook X.Show in Sidebar
nmap b :emenu ScrapBook X.Save Page<CR>
nmap c :cite<CR>
+nmap e :explore<CR>