fixes and improvements
This commit is contained in:
@@ -228,6 +228,8 @@ return {
|
||||
["rust-analyzer"] = {},
|
||||
},
|
||||
},
|
||||
-- brew install bash-language-server
|
||||
bashls = {},
|
||||
-- lua_ls = {
|
||||
-- settings = {
|
||||
-- Lua = {
|
||||
|
||||
@@ -6,6 +6,7 @@ return {
|
||||
local lint = require("lint")
|
||||
lint.linters_by_ft = {
|
||||
lua = { "luacheck" },
|
||||
bash = { "bash" },
|
||||
}
|
||||
local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
|
||||
|
||||
|
||||
@@ -8,12 +8,27 @@ return {
|
||||
disable_when_zoomed = true, -- defaults to false
|
||||
})
|
||||
|
||||
vim.keymap.set("n", "<S-left>", nvim_tmux_nav.NvimTmuxNavigateLeft)
|
||||
vim.keymap.set("n", "<S-down>", nvim_tmux_nav.NvimTmuxNavigateDown)
|
||||
vim.keymap.set("n", "<S-up>", nvim_tmux_nav.NvimTmuxNavigateUp)
|
||||
vim.keymap.set("n", "<S-right>", nvim_tmux_nav.NvimTmuxNavigateRight)
|
||||
vim.keymap.set("n", "<C-\\>", nvim_tmux_nav.NvimTmuxNavigateLastActive)
|
||||
vim.keymap.set("n", "<C-Space>", nvim_tmux_nav.NvimTmuxNavigateNext)
|
||||
vim.keymap.set(
|
||||
"n",
|
||||
"<S-left>",
|
||||
nvim_tmux_nav.NvimTmuxNavigateLeft,
|
||||
{ desc = "Move to the split to the left" }
|
||||
)
|
||||
vim.keymap.set("n", "<S-down>", nvim_tmux_nav.NvimTmuxNavigateDown, { desc = "Move to the split below" })
|
||||
vim.keymap.set("n", "<S-up>", nvim_tmux_nav.NvimTmuxNavigateUp, { desc = "Move to the split above" })
|
||||
vim.keymap.set(
|
||||
"n",
|
||||
"<S-right>",
|
||||
nvim_tmux_nav.NvimTmuxNavigateRight,
|
||||
{ desc = "Move to the split to the right" }
|
||||
)
|
||||
vim.keymap.set(
|
||||
"n",
|
||||
"<C-\\>",
|
||||
nvim_tmux_nav.NvimTmuxNavigateLastActive,
|
||||
{ desc = "Move to the last active split" }
|
||||
)
|
||||
vim.keymap.set("n", "<C-Space>", nvim_tmux_nav.NvimTmuxNavigateNext, { desc = "Move to the next split" })
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user