+ Package manager: paq-nvim

+ added `<leader>p` mapping for paq to:
    + install
    + update
    + clean

+ added plugins directory
    * but not `require`d by default

+ updated README w/ paq install info
This commit is contained in:
Just Midi 2021-08-10 00:34:39 +00:00
parent e5ffded0c8
commit 5f8478fd6f
3 changed files with 25 additions and 14 deletions

View file

@ -267,6 +267,13 @@ end
-- All layouts: Plugin Bindings
--
-- Package manager
function pm_sync()
require('plugins')
cmd('PaqSync')
end
map('n', '<leader>p', ':lua pm_sync()<CR>', {noremap = true})
-- LSP
function lsp_shortcuts()
local lsp_commands = {

8
lua/plugins/init.lua Normal file
View file

@ -0,0 +1,8 @@
require "paq" {
"savq/paq-nvim"; -- Let Paq manage itself
"neovim/nvim-lspconfig";
"hrsh7th/nvim-compe";
--{"lervag/vimtex", opt=true};
}