summaryrefslogtreecommitdiff
path: root/zathura
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-10-02 09:54:46 +0200
committerUrbain Vaes <urbain@vaes.uk>2018-10-02 09:54:46 +0200
commit17418bda2425baa6fd03dca3dda26915ccf9b863 (patch)
treec268eee45d2f403cee281b72fa60484a076556eb /zathura
parente98bbbd7a90fa6e31d116877615713a6066dab6d (diff)
[zathura] Add history shortcut
Diffstat (limited to 'zathura')
-rw-r--r--zathura/.config/zathura/zathurarc2
1 files changed, 2 insertions, 0 deletions
diff --git a/zathura/.config/zathura/zathurarc b/zathura/.config/zathura/zathurarc
index e93c296..8289c6e 100644
--- a/zathura/.config/zathura/zathurarc
+++ b/zathura/.config/zathura/zathurarc
@@ -1,3 +1,5 @@
map <C-e> scroll down
map <C-y> scroll up
set font "monospace normal 12"
+
+map H feedkeys ":exec sh -c \"cat ~/.local/share/zathura/history | grep -Po '\[\K[^\]]*' | tail -10 | dmenu | xargs zathura\""