mirror of
https://github.com/zoriya/dotfiles.git
synced 2026-06-07 12:24:50 +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
|
-- Navigate buffers
|
||||||
keymap("n", "<A-l>", ":bnext<CR>", opts)
|
keymap("n", "<A-l>", ":bnext<CR>", opts)
|
||||||
keymap("n", "<A-h>", ":bprevious<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
|
-- Move text up and down
|
||||||
keymap("n", "<A-j>", ":m .+1<CR>==", opts)
|
keymap("n", "<A-j>", ":m .+1<CR>==", opts)
|
||||||
|
|||||||
@@ -86,7 +86,10 @@ return packer.startup(function(use)
|
|||||||
|
|
||||||
-- LSP
|
-- LSP
|
||||||
use "neovim/nvim-lspconfig" -- enable 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 "tamago324/nlsp-settings.nvim" -- language server settings defined in json for
|
||||||
use "jose-elias-alvarez/null-ls.nvim" -- for formatters and linters
|
use "jose-elias-alvarez/null-ls.nvim" -- for formatters and linters
|
||||||
use "weilbith/nvim-code-action-menu"
|
use "weilbith/nvim-code-action-menu"
|
||||||
|
|||||||
Reference in New Issue
Block a user