minor fixes

This commit is contained in:
Alexander Navarro 2024-08-05 16:34:19 -04:00
parent 945b87e85d
commit dbccd432d9
3 changed files with 5 additions and 6 deletions

View file

@ -67,8 +67,8 @@ keymap = [
{ on = [ "D" ], run = [ "remove --permanently", "escape --visual --select" ], desc = "Permanently delete the files" },
{ on = [ "a" ], run = "create", desc = "Create a file or directory (ends with / for directories)" },
{ on = [ "r" ], run = "rename --cursor=before_ext", desc = "Rename a file or directory" },
{ on = [ ";" ], run = "shell", desc = "Run a shell command" },
{ on = [ ":" ], run = "shell --block", desc = "Run a shell command (block the UI until the command finishes)" },
{ on = [ ";" ], run = "shell --interactive", desc = "Run a shell command" },
{ on = [ ":" ], run = "shell --interactive --block", desc = "Run a shell command (block the UI until the command finishes)" },
{ on = [ "." ], run = "hidden toggle", desc = "Toggle the visibility of hidden files" },
{ on = [ "s" ], run = "search fd", desc = "Search files by name using fd" },
{ on = [ "S" ], run = "search rg", desc = "Search files by content using ripgrep" },

View file

@ -5,7 +5,7 @@ update_path() {
}
# Set manually
export DOTS="$(dirname $(chezmoi source-path))"
export DOTS="$HOME/.local/share/chezmoi"
export EDITOR=nvim
export VISUAL="$EDITOR"
export QT_STYLE_OVERRIDE=kvantum

View file

@ -109,7 +109,7 @@ setopt hist_find_no_dups
# │ Completion styling │
# ╰──────────────────────────────────────────────────────────╯
# case insensitive completion
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
zstyle ':completion:*' menu no
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath'
@ -136,8 +136,7 @@ done
# ╭──────────────────────────────────────────────────────────╮
# │ Init external programs │
# ╰──────────────────────────────────────────────────────────╯
source /usr/share/fzf/shell/key-bindings.zsh # change to the following line when <= v0.48
# eval "$(fzf --zsh)"
eval "$(fzf --zsh)"
eval "$(zoxide init --cmd cd zsh)"
eval "$(starship init zsh)"
eval "$(mise activate zsh)"