+ 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:
parent
e5ffded0c8
commit
5f8478fd6f
3 changed files with 25 additions and 14 deletions
|
@ -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
8
lua/plugins/init.lua
Normal file
|
@ -0,0 +1,8 @@
|
|||
require "paq" {
|
||||
"savq/paq-nvim"; -- Let Paq manage itself
|
||||
|
||||
"neovim/nvim-lspconfig";
|
||||
"hrsh7th/nvim-compe";
|
||||
|
||||
--{"lervag/vimtex", opt=true};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue