mirror of
https://github.com/zoriya/dotfiles.git
synced 2026-05-23 23:16:23 +00:00
Adding some buffers helpers
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user