vale + zsh-autosuggestions

This commit is contained in:
Anthony Cicchetti 2024-08-26 09:28:52 -04:00
parent 0c803cacbf
commit 114303e4b4
4 changed files with 18 additions and 3 deletions

View file

@ -282,11 +282,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1724673204,
"narHash": "sha256-xm9g1at41a+K4c18Ph0VK91EsyVTzSn3oRt+MxAjyno=",
"lastModified": 1724676119,
"narHash": "sha256-SIq2yR3FEooHWxiRoI0e6mThCgOWHl/OMw+wYYuiov8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "96948c38c80a3eaec083f8a42fdc1882cc92e073",
"rev": "f4f99617e4838b442d4bf5ed0ac6437df9bad040",
"type": "github"
},
"original": {

View file

@ -66,6 +66,7 @@ in {
sqlite
tmux
# vscode-fhs
vale
python312Packages.yt-dlp
zenith
# zoom-us

View file

@ -57,6 +57,9 @@ in {
];
useFriendlyNames = true;
};
autosuggestion = {
enable = true;
};
dirHashes = {
"-- -dotfiles" = "$HOME/.dotfiles";
"-- -src" = "$HOME/src";

11
zsh/funcs/atuin Normal file
View file

@ -0,0 +1,11 @@
# zsh-vi-mode for some reason is overriding these - so overriding them back
bindkey -M emacs '^r' atuin-search
bindkey -M viins '^r' atuin-search-viins
bindkey -M vicmd '/' atuin-search
bindkey -M emacs '^[[A' atuin-up-search
bindkey -M vicmd '^[[A' atuin-up-search-vicmd
bindkey -M viins '^[[A' atuin-up-search-viins
bindkey -M emacs '^[OA' atuin-up-search
bindkey -M vicmd '^[OA' atuin-up-search-vicmd
bindkey -M viins '^[OA' atuin-up-search-viins
bindkey -M vicmd 'k' atuin-up-search-vicm