minpac
tagbar
minpac | tagbar | |
---|---|---|
10 | 31 | |
829 | 6,085 | |
- | 0.2% | |
1.6 | 4.7 | |
5 months ago | about 2 months ago | |
Vim Script | Vim Script | |
- | GNU General Public License v3.0 or later |
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".
tagbar
-
A function to list all function signatures in the current C source file in the quick fix window .
Check this plugin: https://github.com/preservim/tagbar
-
Moving across c-family function arguments
Are you looking for https://vim-taglist.sourceforge.net/ or https://github.com/preservim/tagbar
-
What is this font used from the everforest repo?
I ended up finding https://github.com/preservim/tagbar and like it so far
-
NeoVim & Rust
I also recommend you https://github.com/preservim/tagbar with https://ctags.io/ installed , it will map definitions (functions, enum, struct etc..) to tags and tagbar plugin allows you to open a split window with the mapped list and navigate through your file, it also enabled more advanced features for quick navigation .
-
Question regarding vertical movement
Also not that useful for text files I think, but I sometimes use something like https://github.com/preservim/tagbar to get an overview of the structure of the file, especially in unfamiliar documents. This is a quite old plugin of this nature that depends on ctags, there are more modern plugins that depend on treesitter. However for C++, I found the treesitter based bar plugins not as helpful, they need language specific settings, and the ones I tried didn't have them for C++ at the time.
-
Favorite vimrc configs for coding?
Having said this, there are some useful language independent extensions: jiangmiao/auto-pairs, tpope/vim-commentary, preservim/tagbar, junegunn/vim-peekaboo
-
converting vimscript to lua
Hey, I checked out tagbar plugin. It's really cool. It supports most of the languages. But the ones that needs to be configured, are mentioned in their wiki. It mentions vimscript in it. What will be the lua version of following vimscript?
-
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() : ""
-
Closing brackets are highlighted in red when in the init.vim file
Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation
-
Is there a plugin similar to Visual Studio's object browser/class view?
https://github.com/preservim/tagbar (no LSP support)
What are some alternatives?
dein.vim - :zap: Dark powered Vim/Neovim plugin manager
symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
navigator.lua - Code analysis & navigation plugin for Neovim. Navigate codes like a breeze🎐 Exploring LSP and 🌲Treesitter symbols a piece of 🍰 Take control like a boss 🦍
vim-go - Go development plugin for Vim
vista.vim - :cactus: Viewer & Finder for LSP symbols and tags
telescope-command-palette.nvim - Create key-bindings and watch them with telescope :telescope:
vim-gutentags - A Vim plugin that manages your tag files
minPlug - Minimalistic plugin "manager" for Vim8
vim-awesome - Awesome Vim plugins from across the universe
vim-mark - Highlight several words in different colors simultaneously.
vim-markdown - Markdown Vim Mode