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": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1724673204, "lastModified": 1724676119,
"narHash": "sha256-xm9g1at41a+K4c18Ph0VK91EsyVTzSn3oRt+MxAjyno=", "narHash": "sha256-SIq2yR3FEooHWxiRoI0e6mThCgOWHl/OMw+wYYuiov8=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "96948c38c80a3eaec083f8a42fdc1882cc92e073", "rev": "f4f99617e4838b442d4bf5ed0ac6437df9bad040",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

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

View file

@ -57,6 +57,9 @@ in {
]; ];
useFriendlyNames = true; useFriendlyNames = true;
}; };
autosuggestion = {
enable = true;
};
dirHashes = { dirHashes = {
"-- -dotfiles" = "$HOME/.dotfiles"; "-- -dotfiles" = "$HOME/.dotfiles";
"-- -src" = "$HOME/src"; "-- -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