dotfiles/terminal
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
..
.config terminal: Add fzf file insertion and zoxide cd key binds 2025-10-13 11:26:22 +02:00
.bash_profile terminal: Create module to consolidate term utils 2023-01-07 16:11:40 +01:00
.bashrc terminal: Add fzf file insertion and zoxide cd key binds 2025-10-13 11:26:22 +02:00
.zshenv terminal: Create module to consolidate term utils 2023-01-07 16:11:40 +01:00