Add atuin
This commit is contained in:
parent
cbf1edac22
commit
281ea9f354
4 changed files with 15 additions and 1 deletions
|
@ -98,11 +98,17 @@ bindkey "\ev" zle-venv
|
|||
|
||||
# Map widgets to key
|
||||
bindkey "\ec" fzf-change-directory
|
||||
bindkey "^r" fzf-insert-history
|
||||
bindkey "^xf" fzf-insert-files
|
||||
bindkey "^xd" fzf-insert-directory
|
||||
bindkey "^xn" fzf-insert-named-directory
|
||||
|
||||
if [[ $+commands[atuin] == 1 ]]; then
|
||||
bindkey -M viins '^r' atuin-search-viins
|
||||
bindkey -M vicmd '/' atuin-search
|
||||
else
|
||||
bindkey "^r" fzf-insert-history
|
||||
fi
|
||||
|
||||
FZF_CHANGE_DIR_FIND_COMMAND="fd -t d"
|
||||
FZF_INSERT_DIR_COMMAND="fd -t d"
|
||||
FZF_INSERT_FILES_COMMAND="fd -t f"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue