diff --git a/doc/canola.txt b/doc/canola.txt index 641eee5..14c6655 100644 --- a/doc/canola.txt +++ b/doc/canola.txt @@ -1135,6 +1135,22 @@ CanolaMutationComplete *CanolaMutationComp additional data fields. Use this event for post-mutation side effects such as refreshing external status indicators. +CanolaFileCreated *CanolaFileCreated* + Fired after a new file is successfully created on the local filesystem. + The `args.data.path` field contains the absolute path of the created file. + Use this event to populate initial file contents, run formatters, or + perform any other setup on newly created files. >lua + vim.api.nvim_create_autocmd("User", { + pattern = "CanolaFileCreated", + callback = function(args) + local path = args.data.path + if path:match("%.sh$") then + vim.fn.writefile({ "#!/usr/bin/env bash" }, path) + end + end, + }) +< + -------------------------------------------------------------------------------- TRASH *canola-trash* diff --git a/doc/upstream.html b/doc/upstream.html new file mode 100644 index 0000000..9c79514 --- /dev/null +++ b/doc/upstream.html @@ -0,0 +1,1231 @@ + + +
+ + + ++ Triage of + stevearc/oil.nvim PRs + and issues against this fork. +
+Upstream PRs cherry-picked or adapted into this fork.
+| PR | +Description | +Commit | +
|---|---|---|
| + #495 + | +Cancel visual/operator-pending mode on close | +
+ 16f3d7b
+ |
+
| + #537 + | +Configurable file/directory creation permissions | +
+ c6b4a7a
+ |
+
| + #618 + | +Opt-in filetype detection for icons | +
+ ded1725
+ |
+
| + #644 + | +
+ Pass entry to is_hidden_file/is_always_hidden
+ |
+
+ 4ab4765
+ |
+
| + #697 + | +Recipe for file extension column | +
+ dcb3a08
+ |
+
| + #698 + | +Executable file highlighting | +
+ 41556ec,
+ 85ed9b8
+ |
+
| + #717 + | +Add oil-git.nvim to extensions | +
+ 582d9fc
+ |
+
| + #720 + | +Gate BufAdd autocmd behind config check |
+
+ 2228f80
+ |
+
| + #722 + | +Fix freedesktop trash URL | +
+ b92ecb0
+ |
+
| + #723 + | +Emit OilReadPost event after render |
+
+ 29239d5
+ |
+
| + #725 + | +Normalize keymap keys before config merge | +
+ 723145c
+ |
+
| + #727 + | +Clarify get_current_dir nil + Telescope recipe |
+
+ eed6697
+ |
+
Bugs fixed in this fork that remain open upstream.
+| Upstream issue | +Description | +PR | +
|---|---|---|
| + #302 + | +buflisted=true after jumplist nav |
+
+ #71
+ (a078bcf)
+ |
+
| + #632 + | +Preview + move = copy | +
+ #12
+ (fe16993)
+ |
+
| + #642 + | +W10 warning under nvim -R |
+
+ ca834cf
+ |
+
| + #670 + | +Multi-directory cmdline args ignored | +
+ #11
+ (70861e5)
+ |
+
| + #673 + | +Symlink newlines crash | +
+ 9110a1a
+ |
+
| + #710 + | +buftype empty on BufEnter | +
+ #10
+ (01b860e)
+ |
+
| PR | +Description | +Status | +
|---|---|---|
| + #488 + | +Parent directory in a split | +not actionable — empty PR | +
| + #493 + | +UNC paths on Windows | ++ not actionable — superseded by + #686 + | +
| + #591 + | +release-please changelog | +not applicable | +
| + #667 + | +Virtual text columns + headers | +deferred — WIP, conflicting | +
| + #686 + | +Windows path conversion fix | +not actionable — Windows-only | +
| + #708 + | +Move file into new dir by renaming | +deferred — needs rewrite | +
| + #721 + | +create_hook to populate file contents |
+ deferred — addressing via autocmd event on file create | +
| + #728 + | +open_split for opening oil in a split |
+ + tracked — + #2 + | +
| + #735 + | +gX opens external program with selection | ++ not actionable — hardcoded Linux-only program list, no config + surface, author-acknowledged incomplete + | +
+ Status key: fixed = original fix in fork,
+ resolved = addressed by cherry-picked PR,
+ not actionable = can't/won't fix, tracking =
+ known/not yet addressed, open = not yet triaged.
+
| Issue | +Status | +Notes | +
|---|---|---|
| + #85 + | +open | +Git status column (P2) | +
| + #95 + | +open | +Undo after renaming files (P1) | +
| + #117 + | +open | ++ Move file into new dir via slash in name (P1, related to + #708) + | +
| + #156 + | +open | +Paste path of files into oil buffer (P2) | +
| + #200 + | +open | +Highlights not working when opening a file (P2) | +
| + #207 + | +open | +Suppress "no longer available" message (P1) | +
| + #210 + | +open | +FTP support (P2) | +
| + #213 + | +open | +Disable preview for large files (P1) | +
| + #226 + | +open | +K8s/Docker adapter (P2) | +
| + #232 + | +open | +Cannot close last window (P2) | +
| + #254 + | +open | +Buffer modified highlight group (P2) | +
| + #263 + | +open | +Diff mode (P2) | +
| + #276 + | +open | +Archives manipulation (P2) | +
| + #280 + | +open | +vim-projectionist support (P2) | +
| + #288 + | +open | +Oil failing to load (P2) | +
| + #289 + | +open | +Show absolute path toggle (P2) | +
| + #294 + | +open | +Can't handle emojis in filenames (P2) | +
| + #298 + | +open | +Open float on neovim directory startup (P2) | +
| + #302 + | +fixed | +
+ buflisted=true after jumplist nav —
+ #71
+ (a078bcf)
+ |
+
| + #303 + | +open | +Preview in float window mode (P2) | +
| + #325 + | +open | +oil-ssh error from command line (P0) | +
| + #330 + | +open | +File opens in floating modal | +
| + #332 + | +open | +Buffer not fixed to floating window (P2) | +
| + #335 + | +open | +Disable editing outside root dir | +
| + #349 + | +open | +Parent directory as column/vsplit (P2) | +
| + #351 + | +open | +Paste deleted file from register | +
| + #359 + | +open | +Parse error on filenames differing by space (P1) | +
| + #360 + | +open | +Pick window to open file into | +
| + #362 + | +open | +"Could not find oil adapter for scheme" error | +
| + #363 + | +open | +
+ prompt_save_on_select_new_entry uses wrong prompt
+ |
+
| + #371 + | +open | +Constrain cursor in insert mode | +
| + #373 + | +open | +Dir from quickfix with bqf/trouble broken (P1) | +
| + #375 + | +open | +Highlights for file types and permissions (P2) | +
| + #380 + | +open | +Show file in oil when editing hidden file | +
| + #382 + | +open | +Relative path in window title (P2) | +
| + #392 + | +open | +Option to skip delete prompt | +
| + #393 + | +open | +Auto-save new buffer on entry | +
| + #396 + | +open | +Customize preview content (P2) | +
| + #399 + | +open | +Open file without closing Oil (P1) | +
| + #404 + | +not actionable | +Restricted UNC paths — Windows-only (P2) | +
| + #416 + | +open | +Cannot remap key to open split | +
| + #431 + | +open | +More SSH adapter documentation | +
| + #435 + | +open | +Error previewing with semantic tokens LSP | +
| + #436 + | +open | +Owner and group columns (P2) | +
| + #444 + | +open | +Opening behaviour customization | +
| + #446 + | +resolved | ++ Executable highlighting — PR + #698 + | +
| + #449 + | +open | +Renaming TypeScript files stopped working | +
| + #450 + | +open | +Highlight opened file in directory listing | +
| + #457 + | +open | +Custom column API | +
| + #466 + | +open | +Select into window on right | +
| + #473 + | +open | +Show all hidden files if dir only has hidden | +
| + #479 + | +open | +Harpoon integration recipe | +
| + #483 + | +not actionable | ++ Spell downloads depend on netrw — fixed in + neovim#34940 + | +
| + #486 + | +open | +All directory sizes show 4.1k | +
| + #492 + | +not actionable | +j/k remapping question — answered in comments | +
| + #507 + | +open | +lacasitos.nvim conflict (P1) | +
| + #521 + | +open | +oil-ssh connection issues | +
| + #525 + | +open | +SSH adapter documentation (P2) | +
| + #531 + | +not actionable | +Windows — incomplete drive letters (P1) | +
| + #533 + | +not actionable | +constrain_cursor — needs repro |
+
| + #570 + | +open | +Improve c0/d0 for renaming | +
| + #571 + | +open | +Callback before highlight_filename (P2) |
+
| + #578 + | +resolved | +
+ Hidden file dimming recipe —
+ 38db6cf
+ |
+
| + #587 + | +not actionable | +Alt+h keymap — user config issue | +
| + #599 + | +open | +user:group display and manipulation (P2) | +
| + #607 + | +open | +Per-host SCP args (P2) | +
| + #609 + | +open | +Cursor placement via Snacks picker | +
| + #612 + | +fixed | +
+ Delete buffers on file delete —
+ cleanup_buffers_on_delete option
+ |
+
| + #615 + | +open | +Cursor at name column on o/O (P2) | +
| + #617 + | +open | +Filetype by actual filetype (P2) | +
| + #621 + | +open | +Toggle function for regular windows (P2) | +
| + #623 + | +not actionable | +bufferline.nvim interaction — cross-plugin | +
| + #624 + | +not actionable | +Mutation race — no reliable repro | +
| + #625 + | +not actionable | ++ E19 mark invalid line — intractable without neovim API changes + | +
| + #632 + | +fixed | +
+ Preview + move = copy —
+ #12
+ (fe16993)
+ |
+
| + #636 + | +open | +Telescope picker opens in active buffer | +
| + #637 + | +open | +Inconsistent symlink resolution | +
| + #641 + | +open | +Flicker on actions.parent |
+
| + #642 + | +fixed | +
+ W10 warning under nvim -R —
+ ca834cf
+ |
+
| + #645 + | +resolved | +
+ close_float action —
+ f6bcdda
+ |
+
| + #646 + | +open | +get_current_dir nil on SSH |
+
| + #650 + | +open | +Emit LSP workspace.fileOperations events |
+
| + #655 + | +open | +File statistics as virtual text | +
| + #659 + | +open | +Mark and diff files in buffer | +
| + #664 + | +not actionable | +Session reload extra buffer — no repro | +
| + #665 + | +open | +Hot load preview fast-scratch buffers | +
| + #668 + | +open | +Custom yes/no confirmation | +
| + #670 + | +fixed | +
+ Multi-directory cmdline —
+ #11
+ (70861e5)
+ |
+
| + #671 + | +open | +Yanking between nvim instances | +
| + #673 + | +fixed | +
+ Symlink newlines crash —
+ 9110a1a
+ |
+
| + #675 + | +open | ++ Move file into folder by renaming (related to + #708) + | +
| + #676 + | +not actionable | +Windows — path conversion | +
| + #678 + | +tracking | +
+ buftype='acwrite' causes mksession to skip
+ oil windows
+ |
+
| + #679 + | +resolved | ++ Executable file sign — PR + #698 + | +
| + #682 + | +open | +get_current_dir() nil in non-telescope context |
+
| + #683 + | +open | +Path not shown in floating mode | +
| + #684 + | +open | +User and group columns | +
| + #685 + | +open | +Plain directory paths in buffer names | +
| + #690 + | +resolved | +
+ OilFileIcon highlight group —
+ ce64ae1
+ |
+
| + #692 + | +resolved | ++ Keymap normalization — PR + #725 + | +
| + #699 + | +open | +select blocks UI with slow FileType autocmd |
+
| + #707 + | +open | ++ Move file/dir into new dir by renaming (related to + #708) + | +
| + #710 + | +fixed | +
+ buftype empty on BufEnter —
+ #10
+ (01b860e)
+ |
+
| + #714 + | +not actionable | +Support question — answered | +
| + #719 + | +not actionable | +Neovim crash on node_modules — libuv/neovim bug | +
| + #726 + | +not actionable | +Meta discussion/roadmap | +
| + #736 + | +open | +feature request: make icons virtual text | +