diff --git a/home/modules/neovim.nix b/home/modules/neovim.nix index 31b8c88..7bed139 100644 --- a/home/modules/neovim.nix +++ b/home/modules/neovim.nix @@ -41,7 +41,7 @@ in { plugins = with pkgs.vimPlugins; [ vim-nix - vim-multiple-cursors + vim-visual-multi ]; }; home.sessionVariables = { diff --git a/home/modules/zsh/default.nix b/home/modules/zsh/default.nix index 5e33633..7d4a20b 100644 --- a/home/modules/zsh/default.nix +++ b/home/modules/zsh/default.nix @@ -19,6 +19,15 @@ in { programs.zsh = { enable = true; syntaxHighlighting.enable = true; + autosuggestion.enable = true; + + history = { + append = true; + expireDuplicatesFirst = true; + ignoreAllDups = true; + ignoreSpace = true; + }; + initExtra = import ./zshrc.nix {inherit config lib pkgs;}; }; }; diff --git a/home/modules/zsh/zshrc.nix b/home/modules/zsh/zshrc.nix index f210031..97700ba 100644 --- a/home/modules/zsh/zshrc.nix +++ b/home/modules/zsh/zshrc.nix @@ -87,8 +87,8 @@ alias nixoide="nix repl ''" alias vps="ssh -A vps" bindkey -e - bindkey ";5D" backward-word - bindkey ";5C" forward-word + bindkey "^[[1;5D" backward-word + bindkey "^[[1;5C" forward-word bindkey "\e[3~" delete-char function use() {