diff --git a/zsh/bindings b/zsh/bindings deleted file mode 100644 index c59a87b..0000000 --- a/zsh/bindings +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/zsh - -bindkey '^R' history-incremental-search-backward - -autoload edit-command-line; zle -N edit-command-line; -bindkey -M vicmd v edit-command-line; diff --git a/zsh/config b/zsh/config index 532900b..10a85ee 100644 --- a/zsh/config +++ b/zsh/config @@ -1,6 +1,6 @@ #!/bin/zsh +# --------------------------------------------------------------------- -# --- General ZSH Settings ----------------------------------- HISTFILE=~/.histfile HISTSIZE=1000 SAVEHIST=1000 @@ -10,8 +10,14 @@ unsetopt nomatch bindkey -v +bindkey '^R' history-incremental-search-backward + +autoload edit-command-line +zle -N edit-command-line; +bindkey -M vicmd v edit-command-line; + +# --------------------------------------------------------------------- -# --- Autocompletion Settings -------------------------------- zmodload -i zsh/complist; zstyle ':completion:*' completer _complete _ignored _approximate zstyle ':completion:*' max-errors 1 @@ -21,6 +27,6 @@ bindkey -M menuselect '^M' .accept-line; # don't require 'return' to select menu autoload -Uz compinit compinit +# --------------------------------------------------------------------- -# --- Enable completion in kitty-terminal -------------------- which kitty >/dev/null && kitty + complete setup zsh | source /dev/stdin