aboutsummaryrefslogtreecommitdiff
path: root/.config/fish/conf.d/init-fzf.fish
diff options
context:
space:
mode:
Diffstat (limited to '.config/fish/conf.d/init-fzf.fish')
-rw-r--r--.config/fish/conf.d/init-fzf.fish9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/fish/conf.d/init-fzf.fish b/.config/fish/conf.d/init-fzf.fish
new file mode 100644
index 0000000..d1c2d33
--- /dev/null
+++ b/.config/fish/conf.d/init-fzf.fish
@@ -0,0 +1,9 @@
+command -v fzf > /dev/null || exit 0
+
+if is_mac;
+ source $(brew --prefix fzf)/shell/key-bindings.fish
+end
+
+function fish_user_key_bindings
+ fzf_key_bindings
+end