🗑️ remove(fish): some custom bindings and the cdzi function
This commit is contained in:
parent
ba827131b9
commit
bff9c54e94
2 changed files with 0 additions and 18 deletions
|
@ -1,10 +0,0 @@
|
||||||
function cdzi --description 'Open directories from zoxide in a new Kitty tab'
|
|
||||||
set selected_dir (zi)
|
|
||||||
|
|
||||||
if test -n "$selected_dir"
|
|
||||||
set tab_title (basename "$selected_dir")
|
|
||||||
set new_tab_cmd "kitty @ set-tab-title \"$tab_title\"; and cd $selected_dir"
|
|
||||||
else
|
|
||||||
commandline -f repaint
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -11,12 +11,4 @@ function fish_user_key_bindings
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
bind \e\cw rga-fzf
|
|
||||||
bind \e\z cdzi
|
|
||||||
bind \e\cn navi
|
|
||||||
bind \e\cr repos
|
|
||||||
bind \e\[Z switch_kitty_tab
|
|
||||||
bind \e\ce fe
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue