diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-23 13:30:57 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-23 13:30:57 +0200 |
commit | 6bf0d3fb1241d48148c5327be59edf44b2a2d59f (patch) | |
tree | 313a3f74661ce20d61127f3c036f062ad62bcc69 | |
parent | feat(modules/legacy/conf/nvim/mappings): Ignore space only deletions (diff) | |
download | nixos-config-6bf0d3fb1241d48148c5327be59edf44b2a2d59f.tar.gz nixos-config-6bf0d3fb1241d48148c5327be59edf44b2a2d59f.zip |
fix(modules/zsh): Support completion again
These mappings were missed in the `zsh` rework, and are apparently needed for completion to work.
Diffstat (limited to '')
-rw-r--r-- | modules/by-name/zs/zsh/config/keymaps/viins.zsh | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/modules/by-name/zs/zsh/config/keymaps/viins.zsh b/modules/by-name/zs/zsh/config/keymaps/viins.zsh index 4e76cdec..d215d190 100644 --- a/modules/by-name/zs/zsh/config/keymaps/viins.zsh +++ b/modules/by-name/zs/zsh/config/keymaps/viins.zsh @@ -17,10 +17,6 @@ bindkey -M viins "^X^R" _read_comp bindkey -M viins "^[," _history-complete-newer bindkey -M viins "^[/" _history-complete-older -bindkey -M viins "^J" accept-line -bindkey -M viins "^M" accept-line -bindkey -M viins "^L" clear-screen - bindkey -M viins "^R" atuin-search-viins bindkey -M viins "^V" edit-command-line @@ -51,5 +47,14 @@ bindkey -M viins "^[[200~" bracketed-paste bindkey -M viins "^[[2~" overwrite-mode bindkey -M viins "^[[3~" delete-char bindkey -M viins "^?" vi-backward-delete-char +bindkey -M viins "^H" vi-backward-delete-char bindkey -M viins "^[[5~" beginning-of-buffer-or-history bindkey -M viins "^[[6~" end-of-buffer-or-history + +bindkey -M viins "^J" accept-line +bindkey -M viins "^M" accept-line +bindkey -M viins "^L" clear-screen + +bindkey -M viins "^D" list-choices +bindkey -M viins "^G" list-expand +bindkey -M viins "^I" expand-or-complete |