minpac
vim-unimpaired
minpac | vim-unimpaired | |
---|---|---|
10 | 52 | |
829 | 3,232 | |
- | - | |
1.6 | 0.0 | |
5 months ago | 8 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-unimpaired
-
Alternative to vim-textmanip plugin? (move selected blocks of text)
I don't think it moves blocks, but I utilize the venerable vim-unimpaired for basic text movement (and for inserting empty lines from normal mode).
-
How to create a line downwards without changing location of cursor?
vim-unimpaired gives a mapping for that for ] (and [ to insert an empty lines above the cursor).
-
what does o and O really do?
I use https://github.com/tpope/vim-unimpaired for this.
-
Install vim plugin (for XML/HTML encode/decode)
Is it possible to install a Vim plugin (like https://github.com/tpope/vim-unimpaired/tree/master)?
-
What do you really use to steer the cursor?
HJKL for movement, then mapped arrow keys to this (requires unimpaired): " Normal mode: indent or move line nmap [e nmap ]e nmap << nmap >> " Visual mode: indent or move selection vmap [egv vmap ]egv vmap >gv
-
LPT: RTFM. I routinely find something useful every time I read not only what I was looking for, but also something adjacent
Just now I was looking at the manual entry for vim-unimpaired, since I couldn't remember the incantation for swapping two lines. (It's ]e and [e for swap forward and swap backward.)
-
How do you manage buffers ?
Switch buffers with :b or the ]b [b bindings from unimpaired.
-
Markdown syntax + conceal on `.md` files
and a nice toggle remap that I found here to edit Markdown without conceal: vim.keymap.set("n", "tc", ":setlocal =&conceallevel ? 'conceallevel=0' : 'conceallevel=2'", { desc = "[T]oggle [C]onceallevel"} )
-
Using preconfigured distro vs rolling your own config
imo there are even few plugin authors who actually understand this well, and certainly no distro author does. Some of the few examples of good "vim philosophy" plugins are vim-sneak and vim-unimpaired.
-
Which vim plugins do not have a lua equivalent yet?
https://github.com/tpope/vim-unimpaired. I still use it a lot and it’s one of the few remaining vimscript plug-ins I have. It is also quite slow to load. It would be fantastic to have a Lua equivalent.
What are some alternatives?
dein.vim - :zap: Dark powered Vim/Neovim plugin manager
miryoku - Miryoku is an ergonomic, minimal, orthogonal, and universal keyboard layout.
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
nvim-bqf - Better quickfix window in Neovim, polish old quickfix window.
vim-go - Go development plugin for Vim
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
telescope-command-palette.nvim - Create key-bindings and watch them with telescope :telescope:
better-escape.vim - A Vim/Neovim plugin for escaping insert mode without lagging.
minPlug - Minimalistic plugin "manager" for Vim8
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
vim-mark - Highlight several words in different colors simultaneously.
coc-tsserver - Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript