Compare commits

...

2 Commits

Author SHA1 Message Date
af91086a14
feat(zsh): add zsh-vi-mode 2024-10-17 08:47:12 +02:00
e31940ef47
chore: nix flake update 2024-10-17 08:17:55 +02:00
3 changed files with 14 additions and 8 deletions

View File

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1726985855,
"narHash": "sha256-NJPGK030Y3qETpWBhj9oobDQRbXdXOPxtu+YgGvZ84o=",
"lastModified": 1729027341,
"narHash": "sha256-IqWD7bA9iJVifvJlB4vs2KUXVhN+d9lECWdNB4jJ0tE=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "04213d1ce4221f5d9b40bcee30706ce9a91d148d",
"rev": "2a4fd1cfd8ed5648583dadef86966a8231024221",
"type": "github"
},
"original": {
@ -22,11 +22,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1726755586,
"narHash": "sha256-PmUr/2GQGvFTIJ6/Tvsins7Q43KTMvMFhvG6oaYK+Wk=",
"lastModified": 1728888510,
"narHash": "sha256-nsNdSldaAyu6PE3YUA+YQLqUDJh+gRbBooMMekZJwvI=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "c04d5652cfa9742b1d519688f65d1bbccea9eb7e",
"rev": "a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c",
"type": "github"
},
"original": {

View File

@ -4,7 +4,7 @@
enable = true;
enableZshIntegration = true;
git = true;
icons = true;
icons = "auto";
extraOptions = [ "--group-directories-first" ];
};
}

View File

@ -1,4 +1,4 @@
{ theme, ... }:
{ pkgs, theme, ... }:
let
zsh_autosuggest_highlight_style = if theme == "light" then "fg=180" else "fg=10";
in
@ -20,6 +20,12 @@ in
}
precmd_functions+=(set_win_title)
function zvm_config() {
ZVM_INIT_MODE=sourcing
}
source ${pkgs.zsh-vi-mode}/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
'';
};
}