Update .config/sheldon/plugins.toml
Update .config/zsh/env.zsh Add .config/zsh/files/functions.zsh Remove .config/zsh/files/keybinds.zsh Remove .config/zsh/files/transfer.zsh Update .config/zsh/rc.zsh
This commit is contained in:
parent
27a779ca15
commit
a5c3567d85
6 changed files with 47 additions and 50 deletions
15
dot_config/zsh/files/functions.zsh
Normal file
15
dot_config/zsh/files/functions.zsh
Normal file
|
@ -0,0 +1,15 @@
|
|||
pet_select () {
|
||||
BUFFER=$(pet search --query "$LBUFFER")
|
||||
CURSOR=$#BUFFER
|
||||
zle redisplay
|
||||
}
|
||||
zle -N pet_select
|
||||
bindkey '^l' pet_select
|
||||
|
||||
run_ranger () {
|
||||
echo
|
||||
ranger < $TTY
|
||||
zle redisplay
|
||||
}
|
||||
zle -N run_ranger
|
||||
bindkey '^f' run_ranger
|
Loading…
Add table
Add a link
Reference in a new issue