mirror of
https://github.com/harivansh-afk/oil.nvim.git
synced 2026-04-15 18:01:29 +00:00
The previous mechanism used histget() to get the last command or expression to detect if the user issued a `:wq` or similar. This had the issue where if a user issued a `:wq`, started vim again, then entered oil and saved via some mechanism that is _not_ a command (e.g. a keymap), we would incorrectly detect that `:wq` and exit after saving. The new mechanism tracks all keypresses and may end up with false negatives (e.g. ":wqaff<backspace><backspace>ll"), but those are less frustrating than false positives. |
||
|---|---|---|
| .. | ||
| adapters | ||
| lsp | ||
| mutator | ||
| actions.lua | ||
| cache.lua | ||
| columns.lua | ||
| config.lua | ||
| constants.lua | ||
| fs.lua | ||
| init.lua | ||
| keymap_util.lua | ||
| layout.lua | ||
| loading.lua | ||
| pathutil.lua | ||
| ringbuf.lua | ||
| shell.lua | ||
| util.lua | ||
| view.lua | ||