vim-endwise
vim-closer
Our great sponsors
vim-endwise | vim-closer | |
---|---|---|
8 | 6 | |
1,090 | 334 | |
- | - | |
4.3 | 0.0 | |
3 months ago | 12 months ago | |
Vim Script | Vim Script | |
- | 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-endwise
-
What are your must-have vim/nvim extensions?
tpope/vim-endwise - Closes blocks like do-end etc.
-
Anyway to configure coc-elixir to suggest `do` for autocomplete at the end of `def`?
Might be conflicting with coc, check this https://github.com/tpope/vim-endwise/issues/125
-
My Annotated Vim CoC Config
As you can see, I've commented it out. That is because as great as it is, it comes at an expense. First, it was often auto-completing words unexpectedly when what I was trying to do was create a new line. For instance, in Ruby files, I'd type do for a block and then hit enter to go the first line of the block's body. Instead, it would auto-complete do to does. Second, this overriding of the enter key was clashing with vim-endwise which I depend on for Ruby development.
-
[Tressitter query] Can I specify vim-polyglot indentation and have Treesitter only for highlights?
Note, Tim Pope's endwise is also broken with Treesitter for similar reasons as noted here
-
Neovim 0.5 + LSP + Treesitter + compe + indent-blankline + gitsigns = magnificent
What I really want is a nvim-ts-closeblock plugin that replicates Tim Pope's endwise plugin for Ruby when Treesitter is in effect.
-
What neovim plugins do you wish existed?
I wish there were lua based version of https://github.com/tpope/vim-endwise.The plugin itself works great but if we add some kind of completion plugin, then things get dirty.There is a lot of issues like...
-
[Noob] settings/plugin to expand braces upon hitting enter?
https://github.com/tpope/vim-endwise is a good plugin since it knows how to do this properly for several languages.
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?
What are some alternatives?
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
auto-pairs - Vim plugin, insert or delete brackets, parens, quotes in pair
languagetool - Style and Grammar Checker for 25+ Languages
pgsql.vim - The best PostgreSQL plugin for Vim!
indentLine - A vim plugin to display the indention levels with thin vertical lines
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
neovim - Vim-fork focused on extensibility and usability
autoclose.nvim - A minimalist Neovim plugin that auto pairs & closes brackets
coc-tsserver - Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
vim-css-color - Preview colours in source code while editing
vim-dadbod-ui - Simple UI for https://github.com/tpope/vim-dadbod
vim-multiple-cursors - True Sublime Text style multiple selections for Vim