summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc2
-rwxr-xr-xbin/fv2
2 files changed, 3 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index e491cb7..ad2ab95 100644
--- a/.bashrc
+++ b/.bashrc
@@ -164,3 +164,5 @@ meteo() {
#bind -m vi-command ".":insert-last-argument
#bind -m vi-command 'Control-l: clear-screen'
#bind -m vi-insert 'Control-l: clear-screen'
+
+[ -f ~/.fzf.bash ] && source ~/.fzf.bash
diff --git a/bin/fv b/bin/fv
index 1f54bdc..678c8d7 100755
--- a/bin/fv
+++ b/bin/fv
@@ -3,4 +3,4 @@
#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 'bat --color always {1}'
+ --preview 'cat {}'