Update dot_zshrc
This commit is contained in:
parent
881409d2df
commit
ccd1a72106
1 changed files with 6 additions and 0 deletions
|
@ -70,6 +70,12 @@ z4h source $HOME/.config/local/aliases.zsh
|
||||||
|
|
||||||
# Define key bindings.
|
# Define key bindings.
|
||||||
|
|
||||||
|
run_ranger () { echo; ranger < $TTY; zle redisplay }
|
||||||
|
zle -N run_ranger
|
||||||
|
bindkey '^t' run_ranger
|
||||||
|
|
||||||
|
bindkey -s '^f' 'cd "$(dirname "$(fzf)")"\n'
|
||||||
|
|
||||||
# Autoload functions.
|
# Autoload functions.
|
||||||
|
|
||||||
# Define functions and completions.
|
# Define functions and completions.
|
||||||
|
|
Loading…
Add table
Reference in a new issue