packer.nvim

A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config (by wbthomason)

Packer.nvim Alternatives

Similar projects and alternatives to packer.nvim

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better packer.nvim alternative or higher similarity.

packer.nvim reviews and mentions

Posts with mentions or reviews of packer.nvim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-20.
  • Call for help testing `lockfile` PR for Packer
    2 projects | reddit.com/r/neovim | 20 Nov 2022
    Looking for help testing a PR to add lockfile support to Packer. This pr has stabilized and is currently waiting on review from the packer maintainer.
  • Emmet does not seem to work
    2 projects | reddit.com/r/neovim | 19 Nov 2022
    I installed emmet using packer.nvim. The plugin seemed to be installed correctly without any errors.
  • VS Code has been a popular choice among a majority of programmers
    9 projects | reddit.com/r/ProgrammerHumor | 16 Nov 2022
    For neovim, check out Packer: https://github.com/wbthomason/packer.nvim
  • one.nvim: a neovim config framework
    3 projects | reddit.com/r/neovim | 13 Nov 2022
    Lua-wrapped plugin manager based on vim-plug or packer at your choice.
  • Why is Neovim unable to locate the packer module? I understand.
    2 projects | reddit.com/r/neovim | 10 Nov 2022
    git clone --depth 1 https://github.com/wbthomason/packer.nvim\ ~/.local/share/nvim/site/pack/packer/start/packer.nvim
  • Help with plug
    6 projects | reddit.com/r/neovim | 29 Oct 2022
    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
  • Unable to exit from visual mode using lua
    4 projects | reddit.com/r/u_matteomanu | 19 Oct 2022
    require("packer").startup(function() use "https://github.com/wbthomason/packer.nvim" use "https://github.com/nvim-treesitter/nvim-treesitter" use "https://github.com/vim-scripts/RltvNmbr.vim" end) require'nvim-treesitter.configs'.setup { ensure_installed = {"c", "cpp", "go", "python", "javascript", "html", "lua"}, highlight = { enable = true }, indent = { enable = true } } function map(modes, key, value, opts) for i=1, string.len(modes) do local mode = string.sub(modes, i, i) vim.keymap.set(mode, key, value, opts) end end --[[https://www.reddit.com/r/neovim/comments/klnb2d/cant_get_nvim_exec_to_work/ https://github.com/neovim/neovim/pull/16594 https://www.reddit.com/r/neovim/comments/muxuc3/difference_between_the_various_vim_apis/ https://dev.to/voyeg3r/writing-useful-lua-functions-to-my-neovim-14ki --]] function smartIndent() --https://vi.stackexchange.com/questions/31189/how-can-i-get-the-current-cursor-position-in-lua local currLine, currCol = unpack(a.nvim_win_get_cursor(0)) --editor cmd into scripting cmd --https://learnvimscriptthehardway.stevelosh.com/chapters/29.html --! => nore a.nvim_command("normal! gg=G") --https://stackoverflow.com/questions/1405583/concatenation-of-strings-in-lua a.nvim_command("normal! " .. currLine .. "G") end --https://vi.stackexchange.com/questions/38352/passing-a-count-to-a-user-command-with-neovims-lua-api function smartShift(lines, right2left) --local arg = vim.fn.getchar() local currLine, currCol = unpack(a.nvim_win_get_cursor(0)) for i=1, lines do if (right2left == true) then a.nvim_command("normal! <<") else a.nvim_command("normal! >>") end a.nvim_command("normal! " .. currLine+i .. "G") end a.nvim_command("normal! " .. currLine .. "G") end function bracketIt() end function smartWindow() local arg = vim.fn.getchar() end function smartIncrement() _, cerow, cecol, _ = unpack(vim.fn.getpos(".")) _, csrow, cscol, _ = unpack(vim.fn.getpos("v")) a.nvim_command("normal Esc") a.nvim_command("normal!u") print(csrow, cerow) end a = vim.api o = vim.opt local options = { --:set wrap = false, splitbelow = true, splitright = true, hlsearch = false, autoindent = true, smartindent = true, relativenumber = true, number = true, mouse = "a", smarttab = true, softtabstop = 4, shiftwidth = 4, tabstop = 4, expandtab = true, foldnestmax = 1, foldmethod = "expr", foldexpr = "nvim_treesitter#foldexpr()", --https://stackoverflow.com/questions/30691466/what-is-difference-between-vims-clipboard-unnamed-and-unnamedplus-settings --o.clipboard:append {"unnamedplus"} clipboard = o.clipboard + "unnamedplus", --https://www.reddit.com/r/neovim/comments/o8dlwg/how_to_append_to_an_option_in_lua/ --o.iskeyword:append {"-", "_"} iskeyword = o.iskeyword + "-" + "_", scrolloff = 999 } for k, v in pairs(options) do vim.opt[k] = v end local commands = { -- https://www.reddit.com/r/neovim/comments/ozo7xl/how_to_map_commands_in_lua/ "command W w", "command Q q", "set cursorline cursorlineopt=screenline,number", } for k, v in pairs(commands) do a.nvim_command(v) end local autocmds = { --https://vi.stackexchange.com/questions/5680/how-can-i-set-number-and-relativenumber-at-the-same-time --https://stackoverflow.com/questions/6821033/vim-how-to-run-a-command-immediately-when-starting-vim --ex commands {{"VimEnter "}, {pattern = "*", command = ":RltvNmbr"}} } --https://alpha2phi.medium.com/neovim-for-beginners-lua-autocmd-and-keymap-functions-3bdfe0bebe42 for k, v in pairs(autocmds) do a.nvim_create_autocmd(v[1], v[2]) end local keybindings = { {"v", "n", "", {silent = false, noremap = true, callback = smartIncrement}}, {"n", "", ":resize -1", {silent = false, noremap = true}}, {"n", "", ":resize +1", {silent = false, noremap = true}}, {"n", "", ":vertical resize -2", {silent = false, noremap = true}}, {"n", "", ":vertical resize +2", {silent = false, noremap = true}}, {"n", "", "", {silent = false, noremap = true, callback = smartSave}}, {"n", "", "", {silent = false, noremap = true, callback = smartWindow}}, {"n", "", "h", {silent = false, noremap = true}}, {"n", "", "j", {silent = false, noremap = true}}, {"n", "", "k", {silent = false, noremap = true}}, {"n", "", "l", {silent = false, noremap = true}}, {"nv", "p", '"+p', { silent=false, noremap=true}}, {"nv", "y", '"+y', { silent=false, noremap=true}}, {"nv", "c", '"_c', { silent=false, noremap=true}}, {"nv", "d", '"_d', { silent=false, noremap=true}}, {"nv", "x", '"_x', { silent=false, noremap=true}}, {"n", "+", "", {silent=false, noremap=true}}, {"n", "-", "", {silent=false, noremap=true}}, --https://www.bigsmoke.us/readline/shortcuts {"i", "", "ha", {silent = false, noremap = true}}, {"ni", "", "d^x==i", {silent = false, noremap = true}}, --0 => beginning of line, ^ => first char {"i", "", "A", {silent=false, noremap=true}}, {"i", "", "I", {silent=false, noremap=true}}, {"i", "", "d$a", {silent=false, noremap=true}}, {"n", "", "", { silent=false, noremap=false, callback=smartIndent}}, --https://www.reddit.com/r/neovim/comments/xxah83/comment/irb5ivq/?context=3 --https://superuser.com/questions/410847/how-do-you-create-a-vim-key-mapping-that-requires-numbers-before-the-hotkey-lik --https://www.reddit.com/r/neovim/comments/sjiwox/question_give_arguments_to_vimkeymapsets_function/ --https://www.reddit.com/r/neovim/comments/rq2vm5/how_to_pass_vcount_to_a_lua_function/ --https://www.linuxquestions.org/questions/programming-9/vim-how-pass-argument-to-key-mapping-933036/ {"nv", "s", function() smartShift(vim.v.count, true) end, { silent=false, noremap=false}}, {"nv", "S", function() smartShift(vim.v.count, false) end, { silent=false, noremap=false}} } for k, v in pairs(keybindings) do map(v[1], v[2], v[3], v[4]) end
  • Recent treesitter update borked highlighting?
    8 projects | reddit.com/r/neovim | 16 Oct 2022
    Oh... great... Also this
  • Why can't Neovim find Mason?
    4 projects | reddit.com/r/neovim | 14 Oct 2022
    I would actually use Packer to install Mason - and the dozen or so other things you will invariably end up using. Vim-Plug is another popular option, but so far I've been very happy with what Packer has provided. To get started with Packer, go through the Readme on the github repo for instructions. I would clone Packer in per the first part of the instructions, then add the file CONFIG_BASE/lua/plugin.lua. That file should start with the following:
  • Ask HN: Can you recommend me a fast, light text editor for Windows?
    12 projects | news.ycombinator.com | 13 Oct 2022
    I use neovim. The plugin system has really grown.

    * I use Packer for plug-in managment: https://github.com/wbthomason/packer.nvim

  • A note from our sponsor - Scout APM
    scoutapm.com | 28 Nov 2022
    Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀. Learn more →

Stats

Basic packer.nvim repo stats
131
4,608
8.8
6 days ago
Truly a developer’s best friend
Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.
scoutapm.com