make fzf and zsh-vi work together
This commit is contained in:
parent
ad61236edc
commit
7d1b5fe76f
1 changed files with 8 additions and 2 deletions
|
@ -39,6 +39,12 @@
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
#disable control+s to pause terminal
|
#disable control+s to pause terminal
|
||||||
unsetopt FLOW_CONTROL
|
unsetopt FLOW_CONTROL
|
||||||
|
# manually integrate fzf cause we need to make sure zsh-vi-mode
|
||||||
|
# won't override C-r
|
||||||
|
function zvm_after_init() {
|
||||||
|
eval "$(${pkgs.fzf}/bin/fzf --zsh)"
|
||||||
|
}
|
||||||
|
|
||||||
source ${./p10k.zsh}
|
source ${./p10k.zsh}
|
||||||
'';
|
'';
|
||||||
plugins = [
|
plugins = [
|
||||||
|
@ -89,8 +95,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.fzf.enableZshIntegration = true;
|
programs.fzf.enableZshIntegration = false;
|
||||||
programs.zoxide.enableZshIntegration = true;
|
programs.zoxide.enableZshIntegration = true;
|
||||||
programs.eza.enableZshIntegration = true;
|
programs.eza.enableZshIntegration = true;
|
||||||
programs.nix-index.enableZshIntegration = true;
|
programs.nix-index.enableZshIntegration = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue