* Sync closing of nvim-tree across tabs
* chore: remove vim.* "requires"
* Sync closing of nvim-tree across tabs
* Fix api.close calls
* Fix issue from merge
* Implement changes
* Finish todos and add close_all_tabs
* silently refactor options, add doc
* fix vinegar example
* Refactor close to work with tabid
* Close nvim tree if last buffer
* close and abandon all tabs on subsequent setup calls
Co-authored-by: Alexander Courtis <alex@courtis.org>
* fix(#1716): focus file/directory when created in a sub-directory, don't dispatch FolderCreated on file creation
* fix(#1716): focus file/directory when created in a sub-directory
* fix(#1716): focus file/directory when created in a sub-directory
* fix(#1723): find_file for externally created new file results in folder unable to be opened
* fix(#1723): find_file for externally created new file results in folder unable to be opened
* feat: command to clear the clipboard
* feat: command to clear the clipboard: stylua
* feat: command to clear the clipboard: add to :help
Co-authored-by: Alexander Courtis <alex@courtis.org>
* fix: use pcall to prevent live-filter regex errors
Wrap live filter's match function in pcall to prevent errors caused by
invalid regex while typing.
* nit: use ok for pcall rc
* nit: stylua fix
Co-authored-by: Alexander Courtis <alex@courtis.org>
* fix(#1629): nvim start with file named *NvimTree* opens tree instead of buffer
* Revert "fix(#1629): nvim start with file named *NvimTree* opens tree instead of buffer"
This reverts commit e7136078f7.
* fix(#1629): nvim start with file named *NvimTree* treats file as tree
* fix(#1629): nvim start with file named *NvimTree* treats file as tree
* fix(#1639): ensure tree autocommands match filetype as well as name
* fix(#1639): fix bad merge
* fix(#1639): ensure tree autocommands match filetype as well as name
* fix: preview on floating window
* chore: redrawing the tree after setting current win
* chore: ignore winleave autocmd on preview action
* fix: typo in comment
* chore: call correct window id
* chore: revert changes in focus method
* chore: check if float window is enabled before ignoring WinLeave
* fix: prevent quit_on_open from opening in same window
* chore: remove condition for quit_on_open
* fix: prevent opening file in a new window on floting nvim-tree
* stylua
Co-authored-by: Alexander Courtis <alex@courtis.org>
* fix(#1629): nvim start with file named *NvimTree* opens tree instead of buffer
* Revert "fix(#1629): nvim start with file named *NvimTree* opens tree instead of buffer"
This reverts commit e7136078f7.
* fix(#1629): nvim start with file named *NvimTree* treats file as tree
* fix(#1629): nvim start with file named *NvimTree* treats file as tree
* fix(#1615): focus created file when command line prompt requires confirmation
* fix(#1615): focus created file when command line prompt requires confirmation
* the nice fix
* fix(#1547): pass git toplevel cwd unescaped, pass git untracked arguments as per toplevel
Co-authored-by: Maximilian Philipp <philipp@student.tugraz.at>
Co-authored-by: Alexander Courtis <alex@courtis.org>