From: Sergey Matveev Date: Tue, 21 May 2024 20:47:51 +0000 (+0300) Subject: Preview scrolling bindings X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=815722395024f49b67415e8b5dc7fa011a6b2d33831966451303056c43e99dc4;p=schwabrak.git Preview scrolling bindings --- diff --git a/cd b/cd index 375ea03..0f94587 100755 --- a/cd +++ b/cd @@ -3,5 +3,12 @@ root=$0:h:a . $root/lib.zsh.rc -$root/list $@ | fzf --ansi --tac --preview="$root/show {1}" | cut -f2 | read d +opts=( + --bind=ctrl-e:preview-page-down + --bind=ctrl-y:preview-page-up + --ansi + --tac + --preview="$root/show {1}" +) +$root/list $@ | fzf $opts | cut -f2 | read d print issues/$d