nvim-tree-preview.lua icon indicating copy to clipboard operation
nvim-tree-preview.lua copied to clipboard

Floating preview windows for nvim-tree

Results 9 nvim-tree-preview.lua issues
Sort by recently updated
recently updated
newest added

im not able to use the nvim-tree on_attach properly, ```lua on_attach = function(bufnr) vim.keymap.set("n", "P", "lua require('nvim-tree-preview').watch()", { desc = "Preview (Watch)" }) vim.keymap.set( "n", "", "lua require('nvim-tree-preview').unwatch()", { desc...

I personally have nvim-tree open at the right side, so the previous floating preview would block items below the current node being hovered. Here's an example (the preview hides the...

Hi! Thank for this very useful plugin. When navigating with j/k, the preview window is updated immediately. When holding down j/k to navigate quickly among files, it makes the navigation...

enhancement
help wanted

Hi ! Thank you for this nice plugin ! In your example, i see that you show following mappings : ``` vim.keymap.set('n', '', function() return preview.scroll(4) end, opts 'Scroll Down')...

when we use nvim-tree as float, the window stays on top of the current node, which doesnt look good ![Image](https://github.com/user-attachments/assets/2f9548df-f664-4b73-a758-2772f7f20bfd) maybe we can make it stick on the left-bottom/right-bottom corner...

bug
help wanted

Basically, when I focus into preview window, my floating nvim-tree disappears ```lua require 'nvim-tree'.setup{ on_attach = my_on_attach, view = { float = { enable = true, }, }, } ```

bug
help wanted

Since Neovim 0.11 it is possible to set `winborder` option. It would be nice if by default the plugin would use this option unless explicitly changed in setup. Thank for...

enhancement

Hi, I noticed that if I open and focus the preview (even if I focus back on nvim-tree), and then close nvim-tree, the preview remains open and focused. I think...