dotfiles/terminal/.config/zsh
Marty Oehme fa7e740249
terminal: Add fzf file insertion and zoxide cd key binds
The following is added to all three shells bash, zsh, nushell:

Pressing c-t at any time lets you insert a file/dir at the current
cursor location using fzf. Same for 'T' in vicmd mode.

Pressing alt-c at any time lets you jump to that directory using zoxide,
with the zle editor content intact. Same for 'C' in vicmd mode.

Zsh implementation from: https://github.com/ajeetdsouza/zoxide/issues/357
Bash implementation: https://github.com/ajeetdsouza/zoxide/issues/516

Nushell implementation taken from: https://github.com/junegunn/fzf/issues/4122

TODO: Nushell fzf mapping has one problem in that it does not quote the
selected file in any way. So any file with e.g. a space in it will have
to be manually fixed afterwards.
2025-10-13 11:26:22 +02:00
..
.zprofile zsh: Fix loading aliases from .zsh extensions 2025-02-25 23:25:22 +01:00
.zshenv zsh: Remove double call of env scripts 2023-02-09 09:39:21 +01:00
.zshrc terminal: Add fzf file insertion and zoxide cd key binds 2025-10-13 11:26:22 +02:00