summaryrefslogtreecommitdiff
path: root/bin/fv
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2022-02-03 14:39:21 +0100
committerMarc Vertes <mvertes@free.fr>2022-02-03 14:39:21 +0100
commit70375b4962152133c0423115427d7eaa006822d6 (patch)
treed5608c6638f202ff17566fce60b5460da1d26304 /bin/fv
parent053556962bb2d29ac76bcca51cabd1df238f80e3 (diff)
parente200c8d78ca1d3388c25c1cef8892b1dd015bbf7 (diff)
update
Diffstat (limited to 'bin/fv')
-rwxr-xr-xbin/fv6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/fv b/bin/fv
new file mode 100755
index 0000000..5662ed3
--- /dev/null
+++ b/bin/fv
@@ -0,0 +1,6 @@
+#!/bin/sh
+# quick file viewer
+#exec fzf --multi --preview-window=right:66% --preview 'cat {1}'
+exec fzf --ansi --multi --preview-window=right:75% \
+ --bind=left:preview-page-up --bind=right:preview-page-down \
+ --preview 'cat {1}'