vim-multiple-cursors
nerdtree
Our great sponsors
vim-multiple-cursors | nerdtree | |
---|---|---|
14 | 77 | |
7,908 | 19,205 | |
- | 0.7% | |
1.8 | 7.2 | |
over 3 years ago | 13 days ago | |
Vim Script | Vim Script | |
MIT License | 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-multiple-cursors
-
NeoVim Installation and Configuration on Win10/11
:set number :set autoindent :set tabstop=5 :set shiftwidth=4 :set smarttab :set softtabstop=4 :set mouse=a call plug#begin() Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) Plug 'https://github.com/preservim/nerdtree' " NerdTree Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc Plug 'https://github.com/vim-airline/vim-airline' " Status bar Plug 'https://github.com/lifepillar/pgsql.vim' " PSQL Pluging needs :SQLSetType pgsql.vim Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plug 'https://github.com/neoclide/coc.nvim' " Auto Completion Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors Plug 'https://github.com/rstacruz/vim-closer' " For brackets autocompletion " Auto-completion For Javascript, typescript, html, jsx ...etc Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'} " this is for auto complete, prettier and tslinting let g:coc_global_extensions = ['coc-tslint-plugin', 'coc-tsserver', 'coc-css', 'coc-html', 'coc-json', 'coc-prettier'] " list of CoC extensions needed Plug 'jiangmiao/auto-pairs' "this will auto close ( [ { " these two plugins will add highlighting and indenting to JSX and TSX files. Plug 'yuezk/vim-js' Plug 'HerringtonDarkholme/yats.vim' Plug 'maxmellon/vim-jsx-pretty' set encoding=UTF-8 call plug#end() nnoremap :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nnoremap :call CocActionAsync('jumpDefinition') nmap :TagbarToggle :set completeopt-=preview " For No Previews :colorscheme jellybeans let g:NERDTreeDirArrowExpandable="+" let g:NERDTreeDirArrowCollapsible="~" " --- Just Some Notes --- " :PlugClean :PlugInstall :UpdateRemotePlugins " " :CocInstall coc-python " :CocInstall coc-clangd " :CocInstall coc-snippets " :CocCommand snippets.edit... FOR EACH FILE TYPE " air-line let g:airline_powerline_fonts = 1 if !exists('g:airline_symbols') let g:airline_symbols = {} endif " airline symbols let g:airline_left_sep = '' let g:airline_left_alt_sep = '' let g:airline_right_sep = '' let g:airline_right_alt_sep = '' let g:airline_symbols.branch = '' let g:airline_symbols.readonly = '' let g:airline_symbols.linenr = '' inoremap pumvisible() ? coc#_select_confirm() : ""
- vim wishlist
-
My Neovim Configuration
call plug#begin('~/.config/nvim/plugged') Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) Plug 'https://github.com/preservim/nerdtree' " NerdTree Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc Plug 'https://github.com/vim-airline/vim-airline' " Status bar Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors call plug#end() nnoremap :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nmap :TagbarToggle let g:NERDTreeDirArrowExpandable="+" let g:NERDTreeDirArrowCollapsible="~"
-
How do I work with Rust Workspaces in Neovim?
call plug#begin() Plug 'https://github.com/preservim/nerdtree' " NerdTree Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc Plug 'https://github.com/vim-airline/vim-airline' " Status bar Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'nvim-lua/plenary.nvim' Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.0' } call plug#end()
-
How to do this in Neovim?
In case you want to select multiple variables and change those all at once, you can check out https://github.com/terryma/vim-multiple-cursors.
-
Notepad++ - Unhappy Users' Edition
To be precise I'm talking about something like this plugin does
-
Would you be interested in multicursor support for Neovim?
By the way this is probably my favorite nvim plugin simply because it solves part of this problem https://github.com/terryma/vim-multiple-cursors. However it doesnt help with the more complex examples, like the one I mentioned above.
I also never used multi-cursor feature anywhere, but I stumbled upon a plugin that implemented the feature for VIM: https://github.com/terryma/vim-multiple-cursors . I do not know how useful and easy-to-use it is but it has some good examples in its README.
-
vim-devicons won't display on Windows Terminal with WSL2.
:set number :set relativenumber :set autoindent :set tabstop=2 :set shiftwidth=2 :set smarttab :set softtabstop=2 :set mouse=a :set guifont=Fira\ Code\ 11 call plug#begin() Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) Plug 'https://github.com/preservim/nerdtree' " NerdTree Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc Plug 'https://github.com/vim-airline/vim-airline' " Status bar Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plug 'https://github.com/neoclide/coc.nvim' " Auto Completion Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors Plug 'https://github.com/rstacruz/vim-closer' " Auto braces & bracket closing set encoding=UTF-8 call plug#end() nnoremap :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nmap :TagbarToggle :set completeopt-=preview " For No Previews set termguicolors :colorscheme onehalfdark " Setting Neovim color theme let g:NERDTreeDirArrowExpandable="+" let g:NERDTreeDirArrowCollapsible="~" " air-line let g:airline_powerline_fonts = 1 let g:airline_theme='onehalfdark'
-
Found on internet
There's a brilliant plugin that emulates sublime's way of doing it. https://github.com/terryma/vim-multiple-cursors There's probably a way to do it using vim's default behaivour but this is easy and it works well for me.
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
https://github.com/preservim/nerdtree I believe this has git integration.
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?
nvim-tree.lua - A file explorer tree for neovim written in lua
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
nvim-treesitter-textobjects
fzf.vim - fzf :heart: vim
vim-vinegar - vinegar.vim: Combine with netrw to create a delicious salad dressing
fern.vim - 🌿 General purpose asynchronous tree viewer written in Pure Vim script
chadtree - File manager for Neovim. Better than NERDTree.
vim-nerdtree-syntax-highlight - Extra syntax and highlight for nerdtree files
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
my-lunarvim-config - My config for LunarVim
ctrlp.vim - Active fork of kien/ctrlp.vim—Fuzzy file, buffer, mru, tag, etc finder.
vim-airline - lean & mean status/tabline for vim that's light as air