Fix deprecated zsh configuration and remove vi keymapping

- Replace deprecated initExtra with initContent
- Remove defaultKeymap viins for standard emacs-style bindings

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Yan Lin 2025-07-26 10:40:49 +02:00
parent c0bba829c2
commit 950a276d44

View file

@ -3,7 +3,6 @@
{
programs.zsh = {
enable = true;
defaultKeymap = "viins";
enableVteIntegration = true;
enableCompletion = true;
autosuggestion.enable = true;
@ -34,7 +33,7 @@
hms = "home-manager switch --flake ~/.config/nix#yanlin";
};
initExtra = ''
initContent = ''
# Load Powerlevel10k theme
if [[ -f ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme ]]; then
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme