about summary refs log tree commit diff stats
path: root/nix-conf
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-12-03 16:28:17 +0000
committerDavid Morgan <djm_uk@protonmail.com>2022-12-03 16:28:17 +0000
commit9bb1da80f356ada4a29b592c97a91d0a41892d88 (patch)
treed65da27b08f9721f8aa473560d6a3909ba5fd267 /nix-conf
parent073714b6bf311989886441a3d2f25f3e85048855 (diff)
downloaddotfiles-9bb1da80f356ada4a29b592c97a91d0a41892d88.tar.gz
Add FZF_DEFAULT_OPTS
Diffstat (limited to 'nix-conf')
-rw-r--r--nix-conf/home/includes/zsh.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nix-conf/home/includes/zsh.nix b/nix-conf/home/includes/zsh.nix
index d69e4c2..23a592b 100644
--- a/nix-conf/home/includes/zsh.nix
+++ b/nix-conf/home/includes/zsh.nix
@@ -107,6 +107,7 @@
       export FZF_ALT_C_COMMAND='rg --hidden --files --sort-files --null -g ""!{.git,node_modules}/*" | xargs -0 dirname | sort -u'
       export FZF_ALT_C_OPTS="--preview 'exa --tree {} | head -200'"
       export FZF_CTRL_R_OPTS="--preview 'echo {}' --preview-window down:3:hidden:wrap --bind 'ctrl-t:toggle-preview'"
+      export FZF_DEFAULT_OPTS="--bind=ctrl-t:toggle-all --bind=ctrl-j:jump"
 
       autopair-init
       enable-fzf-tab