1.0.0 (2024-05-26)
⚠ BREAKING CHANGES
- This commit removes the
lsp_util
module, which was used to provide compatibility with Neovim 0.9.0. We now only support nvim 0.10.0 and later. - require yazi version 0.2.5 (previously required 0.2.4)
- window: greatly simplify the code
- remap default horizontal split c-s -> c-x
- allow customizing the config when calling yazi()
- remove possibility to configure the border characters
- The plugin is now written in Lua and the vimscript part is removed.
- this plugin now requires yazi 0.2.4 or newer.
- remove vim.g.yazi_opened (integer)
- remove g:yazi_use_neovim_remote (not used)
Features
- <c-s> closes yazi and starts telescope.nvim's live_grep (33657fc)
- add healthcheck (4dd9284)
- add mp4 demo that is generated using vhs (6e1df89)
- allow customizing the config when calling yazi() (13e35c2)
- allow opening the selected file in a horizontal split (f3847fd)
- allow opening the selected file in a new tab (e4c5532)
- allow opening the selected file in a vertical split (1bb74ca)
- allow yazi_closed_successfully hook to know the last yazi dir (4541e44)
- basic support for resizing the yazi window (01e4685)
- can open a directory from the command line (c32b990)
- can open multiple files in splits or tabs (e6878ed)
- config: allow customizing the method of opening the file (45cc55f)
- config: the chosen_file_path is configurable (181f156)
- config: the events file path is configurable (bf45ac7)
- directories sent to the qf list end in '/' (85dafe2)
- file opener hooks get access to the last dir visited (0abd8e9)
- files renamed in yazi are kept in sync in nvim (bd57653)
- health: warn when using nvim < 0.10.0 (9b4130b)
- hooks: add yazi_closed_successfully hook (cb11663)
- hooks: add yazi_opened hook (ce48deb)
- items sent to the quickfix list don't specify renundant lnum 1 (a9d76ab)
- log: add possibility for debug logging to diagnose issues (db4ca7b)
- lsp: apply changes to related files when a file is deleted (e824eb2)
- lsp: apply changes to related files when a file is renamed (43ed7dc)
- make it easier to completely override the default keymappings (96ff34a)
- make it easier to create custom keymappings in the user config (a6df4d7)
- mouse: add hacky support for scrolling inside tmux (26eb08f)
- mouse: add hacky support for scrolling yazi (opt-in) (83619ea)
- plugin manager for installing and updating yazi plugins (fd727d8)
- plugins: add some sanity checking and error reporting (169ac39)
- require yazi version 0.2.5 (previously required 0.2.4) (ad4f8a2)
- show multiple selected files in the quickfix list (13aa3e4)
- the path given to yazi is not ignored (5226589)
- update demo to showcase new features (5c1b7ae)
- warn when the yazi version is too old (3c36057)
- when files are deleted in yazi, they are closed in nvim (d06d61e)
- when files are moved in yazi, they stay in sync in nvim (0904cdd)
- window: allow customizing the border (410c9ed)
Bug Fixes
- 4: account for paths with spaces (e0006ec)
- add quotes back for windows systems (1dd8403)
- avoid issues with events_file_path having spaces (a6d918f)
- complex character file name resolution for multiple files (051bfce)
- crash when current file contains "()" characters in its path/name (ca914e0)
- crash when renaming to an open buffer (0ff9086)
- don't close a removed file if renamed to later (82aa8a4)
- healthcheck: support different yazi version formats (07826ef)
- lsp: only notifying lsp of renames for open buffers (85bac6b)
- lsp: renaming only notified the lsp for the current file (f3ccc14)
- not being able to open file names with complex characters (bdec3b6)
- not being able to open files with special chars on osx (8c5ef23)
- not being able to open yazi for directories (9b80f3e)
- not entering insert mode when invoked from telescope results (4beaec3)
- opening many files with custom keymappings causing an error (86f3623)
- remap default horizontal split c-s -> c-x (e9dce4f)
- renaming did not work any longer (ff05b58)
- renaming the same file multiple times did not sync to nvim (3a59384)
- try to fix opening paths with spaces on windows (e375060)
- use explicit buffer id to ensure the behavior of 'winleave' autocmd meets expectations; avoid closing a window that does not exist. (d8a773a)
- when opening a directory, insert mode is not activated (2cf6057)
- window: try to always close the window when focus is lost (40eb32c)
Code Refactoring
- remove g:yazi_use_neovim_remote (not used) (dbd15c1)
- remove lsp_util (nvim 0.9.0 compatibility) (6f27462)
- remove possibility to configure the border characters (447c5f0)
- remove vim.g.yazi_opened (integer) (9e5b584)
- remove vimscript part of the plugin (9939329)
- window: greatly simplify the code (eb7cf24)