diff options
author | Tomasz Durda <tomekdur@wp.pl> | 2023-11-04 16:30:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-04 11:30:23 -0400 |
commit | 960decfcb89de5601f483d559096afe3481ae10c (patch) | |
tree | 83b708cf0897aee98144274cc8ab6ae1c3c4674a /src/key_command/impl_comment.rs | |
parent | ee50d175d8c14cc7420e922864e6c5289c2785f3 (diff) |
custom_commands + fallback for the older configurations (#446)
* custom_commands + fallback for the older configurations
1. Added custom_commands
2. Implemented custom_search
3. Implemented custom_serach_interactive
4. Added fallback for the command in the keymaps
* Docs + missing file
* Added two more joshuto scripts
---------
Co-authored-by: Tomasz Durda <edotdurda@e-science.pl>
Co-authored-by: Jeff Zhao <jeff.no.zhao@gmail.com>
Diffstat (limited to 'src/key_command/impl_comment.rs')
-rw-r--r-- | src/key_command/impl_comment.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/key_command/impl_comment.rs b/src/key_command/impl_comment.rs index 3922b32..0483e85 100644 --- a/src/key_command/impl_comment.rs +++ b/src/key_command/impl_comment.rs @@ -140,6 +140,10 @@ impl CommandComment for Command { Self::BookmarkAdd => "Add a bookmark", Self::BookmarkChangeDirectory => "Navigate to a bookmark", + Self::CustomSearch(_) => "Find file based on the custom command", + Self::CustomSearchInteractive(_) => { + "Interactively find file based on the custom command" + } } } } |