Commit ef77d9e
Changed files (3)
.config
.config/zsh/exports.zsh
@@ -1,5 +1,7 @@
export DEV="$HOME/dev"
-export EDITOR='nvim'
+export EDITOR="nvim"
export FZF_DEFAULT_OPTS="--layout=reverse --height=40%"
+export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
export WRAITH_BIN="$HOME/.wraith/bin"
export PATH="$PATH:$WRAITH_BIN"
+export MANPAGER="nvim +Man!"
.config/zsh/init.zsh
@@ -1,7 +1,6 @@
# Completions
autoload -Uz compinit
compinit
-autoload -U +X bashcompinit && bashcompinit
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
zstyle ':completion:*' menu select
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
.config/zsh/keybinds.zsh
@@ -5,6 +5,10 @@ bindkey -e
bindkey '^[[1;5C' forward-word
bindkey '^[[1;5D' backward-word
+# Character deletion
+bindkey '^?' backward-delete-char # Backspace
+bindkey '^[[3~' delete-char # Delete
+
# History prefix search with arrow keys
autoload -U up-line-or-beginning-search
zle -N up-line-or-beginning-search