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

arrow_right should open text file in nvim (if only one command is in a text_default list) #597

Open
srghma opened this issue Jan 23, 2025 · 0 comments

Comments

@srghma
Copy link

srghma commented Jan 23, 2025

I have

mimetipes.yaml (I commented out all commands except of one )

text_default = [
  { command = "nvim" },
  # { command = "micro" },
  # { command = "gedit", fork = true, silent = true },
  # { command = "bat", args = [
  #   "--paging=always",
  # ] },
]

joshuto.yaml (default)

  { keys = ["arrow_right"], commands = ["open"] },
  { keys = ["\n"], commands = ["open"] },

Actual: I click [left] button -> in opens command line with :open_with text -> I have to write :open_with nvim - I click [enter] button -> opens nvim program
Expected: I click [left] button -> opens nvim program (bc it is the only one command in a list)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant