mirror of
https://github.com/js0ny/dotfiles.git
synced 2026-03-23 19:22:43 +00:00
nix:use variables
This commit is contained in:
parent
cf221c7c4b
commit
dfcbd50294
14 changed files with 121 additions and 10 deletions
|
|
@ -11,6 +11,7 @@ in {
|
|||
programs.zsh = {
|
||||
enable = true;
|
||||
autocd = true;
|
||||
# oh-my-zsh.enable = true;
|
||||
autosuggestion.enable = true;
|
||||
historySubstringSearch.enable = true;
|
||||
enableCompletion = true;
|
||||
|
|
@ -42,6 +43,10 @@ in {
|
|||
#
|
||||
# bindkey -M viins '^?' backward-delete-char
|
||||
# bindkey -M viins '^H' backward-kill-word
|
||||
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' 'r:|=*'
|
||||
|
||||
# fzf-tab 模糊匹配
|
||||
zstyle ':fzf-tab:*' use-fzf-default-bindings yes
|
||||
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue