Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow opening interactively with the --chosen-file flag #920

Conversation

mikavilpas
Copy link
Contributor

This commit fixes a bug where the user was unable to open a file interactively using when the --chosen-file flag was used.

This is provided by default in yazi for the O (capital o) keybinding.

(keymap.toml)

[manager]
keymap = [
  { on = [ "O", ], run = "open --interactive", desc = "Open the selected files interactively" },
]

This came to me today as a question from a user in mikavilpas/yazi.nvim#30

mikavilpas and others added 2 commits April 16, 2024 21:44
This commit fixes a bug where the user was unable to open a file
interactively using when the `--chosen-file` flag was used.

This is provided by default in yazi for the `O` (capital o) keybinding.

(keymap.toml)

```toml
[manager]
keymap = [
  { on = [ "O", ], run = "open --interactive", desc = "Open the selected files interactively" },
]
```
@sxyazi
Copy link
Owner

sxyazi commented Apr 16, 2024

Thanks!

@sxyazi sxyazi merged commit 1d15fd9 into sxyazi:main Apr 16, 2024
5 checks passed
@sxyazi sxyazi changed the title fix: allow opening interactively with the --chosen-file flag feat: allow opening interactively with the --chosen-file flag Apr 16, 2024
@mikavilpas mikavilpas deleted the allow-opening-interactively-when-chosen-file-is-selected branch April 17, 2024 04:14
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants