Files
dotfiles/.config
Julian Prein 0af6c9fb24 zsh:keys: Fix override of fzf-cd-widget
This commit addresses a couple of issues:

1. fzf's `key-bindings.zsh` was sourced twice: Once in keys.zsh and once
   via the symlink in `external-plugins/`. Fix this by removing the
   source in `keys.zsh`.

2. The section about the fzf bindings in keys.zsh was a mess. Reorder
   and rewrite some comments to make it nicer.

3. My just added custom `fzf-cd-inplace-widget` does not work like this.
   Since `key-bindings.zsh` is sourced (was sourced again) after
   `keys.zsh`, my override is overridden itself by the default. I
   noticed and fixed this when I originally wrote and tested the
   function, but unfortunately I forgot the old `bindkey` commands in
   `keys.zsh`, which is why I now forgot about it and committed this
   erroneously. To fix this, bind the keys after sourcing
   `key-binding.zsh` in the newly added `fzf.key-bindings.config.zsh`.
   Additionally, move the widget definition as well to have everything
   at one place.

Fixes: 3cf445e739 (zsh:keys: Modify fzf's cd widget to be "in-prompt",
       2025-08-06)
2025-08-06 13:30:56 +02:00
..
2023-12-01 03:43:06 +01:00
2020-12-28 03:09:02 +01:00
2024-11-04 23:17:58 +01:00
2025-06-27 12:59:13 +02:00
2025-03-11 11:54:18 +01:00
2025-06-27 12:59:13 +02:00
2025-06-27 12:59:13 +02:00
2023-06-23 17:43:58 +02:00
2025-06-27 13:05:35 +02:00
2021-10-05 12:01:46 +02:00
2025-01-20 17:45:20 +01:00