choose files: Add default mappings to choose a file and insert it into the terminal

This commit is contained in:
Kovid Goyal
2025-11-23 11:41:21 +05:30
parent 29d2796692
commit 37da04aad6
7 changed files with 79 additions and 15 deletions

View File

@@ -407,9 +407,7 @@ def handle_result(args: list[str], data: dict[str, Any], target_window_id: int,
if __name__ == '__main__':
# Run with kitty +kitten hints
ans = main(sys.argv)
if ans:
print(ans)
main(sys.argv)
elif __name__ == '__doc__':
cd = sys.cli_docs # type: ignore
cd['usage'] = usage