Skip to content

feat(recipes): MacOS FreeDesktop trash configuration#739

Open
ruuzia wants to merge 1 commit intostevearc:masterfrom
ruuzia:recipes-macos-trash
Open

feat(recipes): MacOS FreeDesktop trash configuration#739
ruuzia wants to merge 1 commit intostevearc:masterfrom
ruuzia:recipes-macos-trash

Conversation

@ruuzia
Copy link

@ruuzia ruuzia commented Mar 7, 2026

I looked into parsing .DS_Store files. It does not seem worth it. Hence, I thought this recipe would be useful. It is short, but not intuitive, and it works miraculously.

Add instructions for using FreeDesktop trash on MacOS.
@github-actions github-actions bot requested a review from stevearc March 7, 2026 03:15
barrettruth added a commit to barrettruth/canola.nvim that referenced this pull request Mar 7, 2026
barrettruth added a commit to barrettruth/canola.nvim that referenced this pull request Mar 7, 2026
barrettruth added a commit to barrettruth/canola.nvim that referenced this pull request Mar 7, 2026
* docs(upstream): triage batch — stevearc#739 cherry-pick, 10 issue updates

* feat: add `open_split` and `toggle_split` API

Problem: canola had no way to open a browser in a normal split window;
only floating windows were supported via `open_float`/`toggle_float`.
`M.close` also crashed with E444 when called from the last window.

Solution: port stevearc#728 — add `open_split(dir, opts, cb)`
and `toggle_split(dir, opts, cb)` mirroring the float API. Use
`is_canola_win`/`canola_original_win` window vars (not the upstream
`is_oil_win` names). Wrap `nvim_win_close` in `pcall` with `enew()`
fallback to handle the last-window E444 case.

Based on: stevearc#728

* docs: add vimdoc for `open_split`/`toggle_split` and macOS trash recipe

Cherry-picked from: stevearc#739

* docs(upstream): fix prettier formatting
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