Skip to content

gX opens external program with a selection.#735

Open
banana59 wants to merge 1 commit intostevearc:masterfrom
banana59:feature/external-program-file-chooser
Open

gX opens external program with a selection.#735
banana59 wants to merge 1 commit intostevearc:masterfrom
banana59:feature/external-program-file-chooser

Conversation

@banana59
Copy link

The actual change

This change allows to open external programs not only in the default program set by the OS but to choose from a list.

Further possible changes

Since I struggled to implement this correctly, maybe someone else can do this:

  1. The g? help should sort this such that gX is directly below gx.
  2. There is a new config option (besides the default) in oil which allows to define these external programs in a table.

@github-actions github-actions bot requested a review from stevearc February 26, 2026 10:18
barrettruth added a commit to barrettruth/canola.nvim that referenced this pull request Mar 3, 2026
barrettruth added a commit to barrettruth/canola.nvim that referenced this pull request Mar 6, 2026
barrettruth added a commit to barrettruth/canola.nvim that referenced this pull request Mar 6, 2026
* docs(upstream): triage PRs stevearc#721 and stevearc#735

* docs(upstream): fix stevearc#721 status to deferred

* docs(upstream): remove status key legend

* docs(upstream): s/addressing/fixing in stevearc#721 note
barrettruth added a commit to barrettruth/canola.nvim that referenced this pull request Mar 6, 2026
barrettruth added a commit to barrettruth/canola.nvim that referenced this pull request Mar 6, 2026
barrettruth added a commit to barrettruth/canola.nvim that referenced this pull request Mar 6, 2026
barrettruth added a commit to barrettruth/canola.nvim that referenced this pull request Mar 6, 2026
* feat: emit \`CanolaFileCreated\` autocmd on file creation

Problem: no way to hook into individual file creation to populate
initial contents, without a plugin-specific config callback.

Solution: fire \`User CanolaFileCreated\` with \`data.path\` after each
successful \`fs.touch\` in the files adapter. Users listen with
\`nvim_create_autocmd\` and write to the path however they like.

* build: gitignore `doc/upstream.html`

* docs(upstream): mark stevearc#721 fixed, triage stevearc#735

* docs(upstream): simplify stevearc#735 note
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

Successfully merging this pull request may close these issues.

1 participant