Compare commits

...

4 commits

Author SHA1 Message Date
Fabian Montero a38110ee55
add history config to zshrc 2024-12-02 12:22:23 -06:00
Fabian Montero 93946beae2
add zsh auto suggestion 2024-12-01 22:01:04 -06:00
Fabian Montero e0614b99b4
replace multicursor plugin 2024-12-01 21:58:23 -06:00
Fabian Montero e0ef9b14ba
update zshrc 2024-12-01 21:51:35 -06:00
3 changed files with 12 additions and 3 deletions

View file

@ -41,7 +41,7 @@ in {
plugins = with pkgs.vimPlugins; [
vim-nix
vim-multiple-cursors
vim-visual-multi
];
};
home.sessionVariables = {

View file

@ -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;};
};
};

View file

@ -87,8 +87,8 @@
alias nixoide="nix repl '<nixpkgs>'"
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() {