kommentary
nvim-tree.lua
Our great sponsors
kommentary | nvim-tree.lua | |
---|---|---|
14 | 125 | |
533 | 6,468 | |
- | 3.4% | |
2.9 | 9.2 | |
5 months ago | 18 days ago | |
Lua | Lua | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kommentary
-
A pragmatic approach to migrating from VSCode to Neovim
Indent-blankline to draw indentation guides, nvim-autopairs to automatically complete pairs of brackets and quotes (I didn’t know I couldn’t live without it), nvim-ts-autotag to autocomplete pairs of tags as well, targets.vim to target what is inside or outside the mentioned pairs and vim-surround to manage all those pairs with few keystrokes. Kommentary to comment and uncomment lines of code, nvim-cursorline to help locate where the cursor is and nvim-colorizer because I am cheeky. Vim-abolish is definitely an interesting one. I decided to install it because of its case coercion capabilities, but it can do much more than that.
-
Question: Is it a requirement that plugins written in Lua require you to call the setup function?
Here’s an example of a lua plugin with no setup function
-
TakeTuesday: Comment.nvim tutorial
The one I use is kommentary.nvim. A) It works, and with embedded code too, but also b) the Lua underneath it is really good. It’s well-commented, tested, and just generally a good resource to learn Lua from (or at least it has been for me.)
-
Comment.nvim: new stuff that will make you Rick Roll.
A bit unrelated, but I wrote some tests for kommentary that might inspire you to create a test suite for this plugin too.
-
Comment.nvim: Simple and powerful comment plugin for neovim. Supports commentstring, dot repeat, left-right/up-down motions, hooks, and more
Dot repeat https://github.com/b3nj5m1n/kommentary/issues/41
-
Comment C/C++ line or block
I'm still using the tpopes plugin, so I don't really know about the Lua versions 😅. But I have heard good things about kommentary
-
nerdcommenter seems to better figure out what comment syntax to use than vim-commentary, but i like vim-commentary more at everything else
I've been using b3nj5m1n/kommentary . I's uses are similar to vim-comentary . It has option to use only single line comments . This can be used to avoid /* ... */ . You can try that out .
-
Aspiring plugin authors: look at kommentary
b3nj5m1n/kommentary is one that is relatively small, but big enough to be interesting. It is also *insanely* well documented and the overall code quality seems good to me.
-
commented.nvim, a commenting plugin that actually works with count.
I need a comment plugin that works in normal mode and virtual mode and accepts count. Neither does kommentary and nvim-comment provide counts, therefore I decided to write one for myself.
-
Custom keymap function does not work with `<Plug>` commands
I can import this function and use it with all my custom keybindings. However, it doesn't custom keybindings I want to use for the Kommentary plugin.
nvim-tree.lua
-
Installing neovim plugins (nvim-tree)
This works for installing the other plugins. But I can't seem to access nvim-tree. According to the website (https://github.com/nvim-tree/nvim-tree.lua), I should be able enter :NvimTreeOpen in neovim, but I get "Not an editor command: NvimTreeOpen." Any ideas?
-
NeoVim Capability Functions
For splitting the terminal you could try either toggleterm or tmux. If you want to send things from one tmux pane to another, then you can use slime. For a toggle-able filetree, you can use nvim tree.
-
How to configure vim like an IDE
(Neovim) nvim-tree
-
Best way to manipulate files inside neovim?
Also you can use your file browser such as neo-tree, nvim-tree, or even netrw.
-
NvimTree customize colors when it in out focus
I have almost finished customize nvim tree to equal bg colors. Can't resolve only when nvtree out of focus. What of paramets i should write? I tryied from this https://github.com/nvim-tree/nvim-tree.lua/blob/master/doc/nvim-tree-lua.txt but nothing
-
Trying to apply a fix for nvim-tree, but don't understand how to apply it.
I was having an issue with my colorscheme Sonokai and I found my issue
- NvimTree vs NeoTree
-
How to easily diff two directories from within Neovim
Personally I use will133/vim-dirdiff plugin, but it is pretty troublesome as I need to invoke `:DirDiff /path/to/dir1 /path/to/some/dir2`. What would be ideal is to extend nvim-tree, to be able to mark two directories (in similar manner as it has bookmarks) and then execute `:DirDiff` against those marked directories, but I'm not that familiar with Lua yet to write that. ;/
-
Neither netrw or nnvim-tree open when I try to open current directory
The open_on_setup feature apparently has been removed in nvim-tree.lua https://github.com/nvim-tree/nvim-tree.lua/wiki/Open-At-Startup. Look at this wiki page where you can get all the necessary helpful information there about how to configure open_on_setup.
-
Tabstop always changing
My tabstop is changing from 4 to 8 everytime that I open a file using nvim-tree https://github.com/nvim-tree/nvim-tree.lua
What are some alternatives?
nvim-comment - A comment toggler for Neovim, written in Lua
nerdtree - A tree explorer plugin for vim.
vim-commentary - commentary.vim: comment stuff out
neo-tree.nvim - Neovim plugin to manage the file system and other tree like structures.
Comment.nvim - :brain: :muscle: // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more
chadtree - File manager for Neovim. Better than NERDTree.
nvim-ts-context-commentstring - Neovim treesitter plugin for setting the commentstring based on the cursor location in a file.
telescope-file-browser.nvim - File Browser extension for telescope.nvim
commented.nvim - Neovim commenting plugin in Lua. Support operator, motions and more than 60 languages! :fire:
vim-gitgutter - A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks.
tcomment_vim - An extensible & universal comment vim-plugin that also handles embedded filetypes
nerd-fonts - Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more