From d9ef3b056e8ed86e69502d42535e24af77df310b Mon Sep 17 00:00:00 2001 From: Elias Kohout Date: Tue, 7 Apr 2026 18:14:28 +0200 Subject: [PATCH] Setup fzf history search for zsh and bash --- home/modules/shell.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/home/modules/shell.nix b/home/modules/shell.nix index 9e81677..8ffdc5f 100644 --- a/home/modules/shell.nix +++ b/home/modules/shell.nix @@ -1,6 +1,13 @@ { config, lib, ... }: { + programs.fzf = { + enable = true; + enableZshIntegration = true; + enableBashIntegration = true; + defaultOptions = [ "--height 40%" "--layout=reverse" "--border" ]; + }; + programs.zsh = { enable = true; dotDir = "${config.xdg.configHome}/zsh"; @@ -14,9 +21,6 @@ }; initContent = '' - bindkey '^R' history-incremental-search-backward - bindkey '^S' history-incremental-search-forward - autoload -Uz vcs_info precmd() { vcs_info } zstyle ':vcs_info:git:*' formats '%b'