diff options
author | Adrian Kummerlaender | 2016-10-27 22:46:10 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2016-10-27 22:46:10 +0200 |
commit | fe295226c97d16efa10ee81403852bcca56849da (patch) | |
tree | 1ebb7514771a6fff8146a0ae68dd78849eea7e87 /pentadactyl/.pentadactylrc | |
parent | 6dfe384b82111e6632ebb7f503d5afb56c09f148 (diff) | |
download | dotfiles-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/.pentadactylrc | 5 |
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> |