summaryrefslogtreecommitdiff
path: root/zsh/zscripts/zshcompmenu.zsh
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2024-10-17 22:46:39 -0500
committerTim Keller <tjk@tjkeller.xyz>2024-10-17 22:46:39 -0500
commit78d5e2082554d370f43216406f84872eaa2a4e5b (patch)
treefc354e842111062c057484cbb319e02037404975 /zsh/zscripts/zshcompmenu.zsh
parent75793a911de3648963385c70237fc737f1967e9d (diff)
downloaddotconfig-78d5e2082554d370f43216406f84872eaa2a4e5b.tar.xz
dotconfig-78d5e2082554d370f43216406f84872eaa2a4e5b.zip
remove zsh and nvim configs from this repo and move to another
Diffstat (limited to 'zsh/zscripts/zshcompmenu.zsh')
-rwxr-xr-xzsh/zscripts/zshcompmenu.zsh18
1 files changed, 0 insertions, 18 deletions
diff --git a/zsh/zscripts/zshcompmenu.zsh b/zsh/zscripts/zshcompmenu.zsh
deleted file mode 100755
index 0d471a5..0000000
--- a/zsh/zscripts/zshcompmenu.zsh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env zsh
-
-# Basic auto/tab complete
-autoload -U compinit
-zstyle ':completion:*' menu select
-zmodload zsh/complist
-compinit -d "${XDG_CACHE_HOME:-$HOME/.config}/zcompdump" # Change where .zcompdump is stored
-_comp_options+=(globdots) # Include hidden files.
-
-# Use ctrl-vi keys in tab complete menu
-bindkey -M menuselect '^h' vi-backward-char
-bindkey -M menuselect '^j' vi-down-line-or-history
-bindkey -M menuselect '^k' vi-up-line-or-history
-bindkey -M menuselect '^l' vi-forward-char
-bindkey -v '^?' backward-delete-char
-
-# Options
-setopt MENU_COMPLETE # Immediately insert first option from completion menu