Adding some buffers helpers

This commit is contained in:
Zoe Roux
2022-02-26 16:45:48 +01:00
parent 2cf503c3e9
commit 71ee13557f
2 changed files with 6 additions and 2 deletions
@@ -38,7 +38,8 @@ keymap("n", "<C-l>", "<C-w>l", opts)
-- Navigate buffers
keymap("n", "<A-l>", ":bnext<CR>", opts)
keymap("n", "<A-h>", ":bprevious<CR>", opts)
keymap("n", "<S-q>", ":Bdelete!<CR>", opts)
keymap("n", "<A-q>", ":Bdelete!<CR>", opts)
keymap("n", "<A-o>", ":w | %bd | e# | bd#<CR>", opts)
-- Move text up and down
keymap("n", "<A-j>", ":m .+1<CR>==", opts)
@@ -86,7 +86,10 @@ return packer.startup(function(use)
-- LSP
use "neovim/nvim-lspconfig" -- enable LSP
use "williamboman/nvim-lsp-installer" -- simple to use language server installer
use {
"williamboman/nvim-lsp-installer",
commit = "5d4195df48b7639aa1dbcf3e7d67fa9306ad0655" -- Using a specific commit since PATH handling as been broken on master.
} -- simple to use language server installer
use "tamago324/nlsp-settings.nvim" -- language server settings defined in json for
use "jose-elias-alvarez/null-ls.nvim" -- for formatters and linters
use "weilbith/nvim-code-action-menu"