Add dot_config/zsh/keybinds.zsh

Update dot_zshrc
This commit is contained in:
eeleater 2021-11-17 18:57:54 +01:00
parent 8c113ea9e8
commit d491bebb72
2 changed files with 4 additions and 3 deletions

View file

@ -0,0 +1,3 @@
run_ranger () { echo; ranger < $TTY; zle redisplay }
zle -N run_ranger
bindkey '^f' run_ranger

View file

@ -44,9 +44,7 @@ z4h source -c $HOME/.config/zsh/aliases.zsh
z4h source -c $HOME/.config/local/aliases.zsh z4h source -c $HOME/.config/local/aliases.zsh
# key bindings # key bindings
run_ranger () { echo; ranger < $TTY; zle redisplay } z4h source -c $HOME/.config/zsh/keybinds.zsh
zle -N run_ranger
bindkey '^f' run_ranger
# ssh stuff # ssh stuff
z4h source -c $HOME/.config/zsh/sshagent.zsh z4h source -c $HOME/.config/zsh/sshagent.zsh