vim-commentary
nerdtree
Our great sponsors
vim-commentary | nerdtree | |
---|---|---|
51 | 77 | |
5,678 | 19,248 | |
- | 0.6% | |
2.5 | 7.2 | |
11 days ago | about 1 month ago | |
Vim Script | Vim Script | |
- | Do What The F*ck You Want To Public License |
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.
vim-commentary
- html css commenting things out
-
A very simple way to comment/uncomment lines and visual selections.
Also, tpope/vim-commentary
-
Plugin for comments
https://github.com/tpope/vim-commentary does what you expect!
-
My Solution to Block Comments
I've replaced most of my custom maps for commenting with tpope's commentary plugin. It's a great plugin. However, I wasn't happy with the lack of multi-line/block comment abilities so I created some maps to compliment the commentary plugin. Here are some maps that can be used with autocmd, FileType and for JavaScript comments.
-
Vim plugin for wrapping/unwrapping line comments
commentary.vim + :h gq?
-
Favorite vimrc configs for coding?
Having said this, there are some useful language independent extensions: jiangmiao/auto-pairs, tpope/vim-commentary, preservim/tagbar, junegunn/vim-peekaboo
-
Neovim config from scratch (Part II)
vim-commentary comment code comfortably with motions and visual selections alike.
-
Anybody have a keymap/config for folding and unfolding a block of code? Also how to comment lines of selected code?
With a plugin like vim-commentary or comment.nvim
-
Colored statusline doesn't load at start; I need to manually source $MYVIMRC
" This file contains common and basic plugins too essential not to include " See https://github.com/junegunn/vim-plug/wiki/tutorial " Auto install vim-plug (if not already installed) if empty(glob('~/.config/nvim/autoload/plug.vim')) silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim autocmd VimEnter * PlugInstall endif " Run PlugInstall if there are missing plugins autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)')) \| PlugInstall --sync | source $MYVIMRC \| endif " enable Vim-Plug: call plug#begin('~/.config/nvim/plugged') " Install/update plugins Plug 'https://github.com/tpope/vim-commentary.git' Plug 'https://github.com/morhetz/gruvbox' " Better C/C++ syntax highlighting; Plug 'https://github.com/jackguo380/vim-lsp-cxx-highlight' call plug#end() "---------- Basic configs ---------------------------------------------------- autocmd vimenter * ++nested colorscheme gruvbox " Enable transparent background let g:gruvbox_transparent_bg = 1
-
Neovim config from scratch (Part I)
Commentary Tim pope's comment plugin
nerdtree
-
I use the default file browser in vim (netrw). I know there are plugins that a lot of people like. Should I switch?
I personally use nerdtree. Add nerdtree-git-plugin too, that's nice when looking at your project (for files, use vim-gitgutter).
-
How to configure vim like an IDE
nerdtree is another very popular option
-
Auto update Javascript imports when moving file/folder
Using my toy js refactoring plugin and NERDTree.
-
Is it possible to use VIM as an ide?
2) Syntax check https://github.com/vim-syntastic/syntastic 3) File navigation https://github.com/preservim/nerdtree 4) Autocomplete There are many autocomplete extensions. I haven't found one that I feel comfortable to recommend. Another way is to create a txt file with all the key words and lines in the languages you use, make an autocommand that adds the txt file to the buffer, and then use ctrl-n or ctrl-p to autocomplete. You can also use ctrl-x-ctrl-l to autocmplete entire lines. 5) Running code Add commands in your .vmrc to run the current file as a a whatever file. I use :J to run java files, :P to run python files, :C to run c files and so on. For example, this is my command to run a java file: command J execute "!java %:t"
-
Auto-completion problems for terraform
Plug 'https://github.com/preservim/nerdtree'
- :(
-
New User
My basic vim workflow is that I open vim, which opens NerdTree for me by default. I can find the file I want in NerdTree, or I can hit Ctrl+p to open a file with fuzzy searching.
-
How do you work with buffers?
What's also useful is to have a tree plugin (such as nvim-tree or nerdtree), so you can just open any file in the workspace (or outside it) if needed. That way, even if you delete a buffer, you can just come back to a file whose buffer you deleted.
-
how do I download nerd tree on neovim??
Worth noting Nerdtree’s repo is now at https://github.com/preservim/nerdtree and not at https://github.com/scrooloose/nerdtree
What are some alternatives?
nerdcommenter - Vim plugin for intensely nerdy commenting powers
nvim-tree.lua - A file explorer tree for neovim written in lua
nvim-comment - A comment toggler for Neovim, written in Lua
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
tcomment_vim - An extensible & universal comment vim-plugin that also handles embedded filetypes
fzf.vim - fzf :heart: vim
kommentary - Neovim commenting plugin, written in lua.
vim-vinegar - vinegar.vim: Combine with netrw to create a delicious salad dressing
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
fern.vim - 🌿 General purpose asynchronous tree viewer written in Pure Vim script
vim-lsp - async language server protocol plugin for vim and neovim
chadtree - File manager for Neovim. Better than NERDTree.