moved bindings to config
This commit is contained in:
parent
12c3d22c4a
commit
db37be2025
@ -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;
|
12
zsh/config
12
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
|
||||
|
Loading…
Reference in New Issue
Block a user