minpac
vim-sandwich
minpac | vim-sandwich | |
---|---|---|
10 | 35 | |
829 | 1,385 | |
- | - | |
1.6 | 5.0 | |
5 months ago | about 2 months ago | |
Vim Script | Vim Script | |
- | - |
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.
minpac
-
How can I get started with VIM or NEOVIM??!!
PS: As you get proficient with Vim, you'll probably want to extend it with plugins, so you should look into package managers when you'll be a decent Vimmer; I use minpac but there are plenty of others. But for now, focus on learning Vim; you don't want to install a plugin to do something that Vim can do out of the box.
-
The Vundle github repo seems to have disappeared
It’s been such a long time since I’ve used it. Don’t know how it compares, but minpac is super simple and uses vim’s native package system (the latter can also be used on its own) https://github.com/k-takata/minpac
-
Is there any way to update all the plugins installed using the built-in package manager?
There are package managers that are built on top of Vim's package system, the one I use is minpac which has a list of other plugin managers using Vim's package system in its README.
-
Help with plug
Options: - packloadall command family and maybe git submodules - minpac which is a thin utility around the above - vim-plug - old but still popular for it does the job - packer.nvim is a popular choice for lua configs, never got to using it myself - paq-nvim is another often mentioned lua solution - dozens of other solutions
-
How to manage Vims dot files (version >8.2), if there are complete plugins inside .vim?
I'm not sure about vim-plug, but I use minpac which does use vim's native plugin location. The selling point is that the installs and updates are managed via the plugin's commands. As part of my dotfiles, the install command is run.
-
Can't add packer as my plug manager.
I went back to using minpac. It uses vim's package feature, but doesn't have to compile anything. I like that I don't have to load it unless I download something.
-
what vimL plugins are you still using?
minpac: Plugin manager.
-
help me test my new plugin lsp-zero.nvim
vim.opt.runtimepath:remove(vim.fn.expand('~/.config/nvim')) vim.opt.packpath:remove(vim.fn.expand('~/.local/share/nvim/site')) vim.opt.runtimepath:append(vim.fn.expand('/tmp/nvim-config')) vim.opt.packpath:append(vim.fn.expand('/tmp/nvim-config')) -- Install minpac local install_path = '/tmp/nvim-config/pack/minpac/opt/minpac' local install_plugins = false if vim.fn.empty(vim.fn.glob(install_path)) > 0 then vim.cmd('!git clone https://github.com/k-takata/minpac ' .. install_path) install_plugins = true end function PackInit() vim.cmd('packadd minpac') vim.call('minpac#init', {dir = '/tmp/nvim-config'}) local Plug = vim.fn['minpac#add'] -- Plugin manager Plug('k-takata/minpac', {type = 'opt'}) -- Colorscheme Plug 'mjlbach/onedark.nvim' -- LSP Support Plug 'neovim/nvim-lspconfig' Plug 'williamboman/nvim-lsp-installer' -- Autocompletion Plug 'hrsh7th/nvim-cmp' Plug 'hrsh7th/cmp-buffer' Plug 'hrsh7th/cmp-path' Plug 'saadparwaiz1/cmp_luasnip' Plug 'hrsh7th/cmp-nvim-lsp' Plug 'hrsh7th/cmp-nvim-lua' -- Snippets Plug 'L3MON4D3/LuaSnip' Plug 'rafamadriz/friendly-snippets' -- lsp stuff Plug 'VonHeikemen/lsp-zero.nvim' end pcall(vim.cmd, 'colorscheme onedark') vim.cmd [[ command! PackUpdate lua PackInit(); vim.call('minpac#update') command! PackClean lua PackInit(); vim.call('minpac#clean') command! PackStatus lua PackInit(); vim.call('minpac#status') ]] if install_plugins then vim.cmd('PackUpdate') end local ok, lsp = pcall(require, 'lsp-zero') if ok then lsp.preset('recommended') lsp.setup() end
-
Favorite unfamous vim/neovim plugin?
k-takata/minpac, the plugin manager that stays out my way. It can live as an optional plugin, it's not loaded unless I update or install something.
-
Creating a lua interface for minpac
I like minpac, it's a good plugin manager. It does what I want. Exactly what I want. Problem is it's written in vimscript, which is something I'm trying to avoid right now. I have no good reason to avoid vimscript... I just don't want to write any. By now I have read enough about lua and the neovim api to create a wrapper that would make minpac a little bit more "lua friendly".
vim-sandwich
-
Surround: how to change foo(bar) to bar
vim-sandwich has this too (although syntax by default is sdf).
- Installing argtextobj.vim
-
How would I wrap a word, prefix it, and finally suffix it?
For example with vim-sandwich you can literally type: siw"sa"ffunctionCall
-
Comment 1 thing in neovim (or plugins) that changed your life, but very few people know about
can't live without my prefered surround plugin
-
neovim plugins that have improved your workflow
vim-sandwich
-
What extra and useful textobj does vim have?
https://github.com/machakann/vim-sandwich (is and iss)
- Whenever I'm looking for plugins these days [OC]
-
Is there a way Is there a way to combine da' and da" ?
This might not be exactly what you're looking for, but vim-sandwich provides the as text object, that goes to whatever surrounding you're in, whether it's quotes, parens, \begin{environment}...\end{environment} in TeX files, or whatever other sandwich recipes you have set up.
-
what vimL plugins are you still using?
vim-sandwich - nvim-surround looks good but is still relatively new and has some missing features compared to alternatives.
-
Introducing nvim-surround, a plugin for adding/changing/deleting surrounding delimiters
Other related plugins that I know of: * https://github.com/tpope/vim-surround * https://github.com/machakann/vim-sandwich * https://github.com/echasnovski/mini.nvim
What are some alternatives?
dein.vim - :zap: Dark powered Vim/Neovim plugin manager
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
surround.nvim - A surround text object plugin for neovim written in lua.
vim-go - Go development plugin for Vim
nvim-surround - Add/change/delete surrounding delimiter pairs with ease. Written with :heart: in Lua.
telescope-command-palette.nvim - Create key-bindings and watch them with telescope :telescope:
vim-matchup - vim match-up: even better % :facepunch: navigate and highlight matching words :facepunch: modern matchit and matchparen. Supports both vim and neovim + tree-sitter.
minPlug - Minimalistic plugin "manager" for Vim8
vim-exchange - Easy text exchange operator for Vim
vim-mark - Highlight several words in different colors simultaneously.
kakoune - mawww's experiment for a better code editor