vim-closer
autoclose.nvim
vim-closer | autoclose.nvim | |
---|---|---|
6 | 4 | |
334 | 424 | |
- | - | |
0.0 | 6.4 | |
12 months ago | 2 months ago | |
Vim Script | Lua | |
MIT License | MIT 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-closer
-
Pair autoclose plugin
I’ve used vim-closer for a long time and been happy with it. Interested in the ones you mentioned tho. https://github.com/rstacruz/vim-closer
-
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() : ""
-
What are your must-have vim/nvim extensions?
rstacruz/vim-closer - Closes brackets automatically
-
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'
-
vim bracket automation?
You can try vim-closer or auto-pairs . But personally I prefer auto-pairs.
- [Noob] settings/plugin to expand braces upon hitting enter?
autoclose.nvim
-
Pair autoclose plugin
Hello! I am setting up Neovim as an IDE and so far I have about everything I need except for a plugin to automatically close my quotes, braces, brackets etc. I know that nvim-autopairs is pretty much the most popular, at least in this community, but there are more minimal alternatives, such as m4xshen/autoclose.nvim (which is an order of magnitude less code). My needs are pretty simple and I don't (think) I really want anything fancy as far as pair completion is concerned. People who have tried both or use nvim-autopairs/other plugins, why do you use the plugin you use and what does it do that others don't? Please feel free to tell me your opinions or whatever you think saves you time/effort (I'm sure there are a lot of good ideas I haven't heard of).
-
UPDATE: autoclose.nvim - A minimalist autoclose plugin for Neovim written in 100% Lua.
Hello everyone! I'm excited to announce that the autoclose.nvim has received a major update. Here are some of the highlights:
-
nvim-autopairs VS autoclose.nvim - a user suggested alternative
2 projects | 5 May 2022
A minimalist autoclose plugin for neovim written by Lua.
-
autoclose.nvim: a minimalist autoclose plugin for neovim written in lua
Hello everyone! I wrote my first autoclose plugin, autoclose.nvim. This plugin is for those who pursue minimalism.
What are some alternatives?
vim-endwise - endwise.vim: Wisely add
nvim-autopairs - autopairs for neovim written in lua
auto-pairs - Vim plugin, insert or delete brackets, parens, quotes in pair
mini.pairs - Neovim Lua plugin to automatically manage character pairs. Part of 'mini.nvim' library.
pgsql.vim - The best PostgreSQL plugin for Vim!
gitsigns.nvim - Git integration for buffers
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
machinegun.nvim - A plugin to manage multicomputer/user neovim configuration
vim-css-color - Preview colours in source code while editing
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
vim-multiple-cursors - True Sublime Text style multiple selections for Vim
nvim-navic - Simple winbar/statusline plugin that shows your current code context