feat: cleanup
This commit is contained in:
1 parent
bd160f982b
commit
164b13f9f0
5 files changed
+19
-48
No files matched your search
@@ -313,12 +313,6 @@ map("t", "<C-k>", "<cmd>wincmd k<cr>", { desc = "Go to Upper Window" })
|
||||
map("t", "<C-l>", "<cmd>wincmd l<cr>", { desc = "Go to Right Window" })
|
||||
map("t", "<C-/>", "<cmd>close<cr>", { desc = "Hide Terminal" })
|
||||
map("t", "<c-_>", "<cmd>close<cr>", { desc = "which_key_ignore" })
|
||||
map("t", "<C-t>", function()
|
||||
Snacks.terminal.open()
|
||||
end, { desc = "Open new terminal" })
|
||||
map("n", "<leader>tt", function()
|
||||
Snacks.terminal()
|
||||
end, { desc = "Toggle terminal" })
|
||||
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -2,23 +2,6 @@ return {
|
||||
{
|
||||
"mfussenegger/nvim-lint",
|
||||
events = { "BufWritePost", "BufReadPost", "InsertLeave" },
|
||||
opts = {
|
||||
linters_by_ft = {
|
||||
fish = { "fish" },
|
||||
css = { "stylelint" },
|
||||
scss = { "stylelint" },
|
||||
ts = { "eslint_d" },
|
||||
js = { "eslint_d" },
|
||||
jsx = { "eslint_d" },
|
||||
tsx = { "eslint_d" },
|
||||
-- Use the "*" filetype to run linters on all filetypes.
|
||||
-- ['*'] = { 'global linter' },
|
||||
-- Use the "_" filetype to run linters on filetypes that don't have other linters configured.
|
||||
-- ['_'] = { 'fallback linter' },
|
||||
-- ["*"] = { "typos" },
|
||||
},
|
||||
},
|
||||
|
||||
config = function()
|
||||
local lint = require("lint")
|
||||
|
||||
|
||||
+1
-7
@@ -49,18 +49,12 @@ local config = {
|
||||
notify = { enabled = true },
|
||||
quickfile = { enabled = false },
|
||||
scope = { enabled = true },
|
||||
terminal = { enabled = true },
|
||||
terminal = { enabled = false },
|
||||
scroll = { enabled = true },
|
||||
statuscolumn = { enabled = true },
|
||||
words = { enabled = true },
|
||||
},
|
||||
},
|
||||
-- Task runner
|
||||
-- TODO: think if really necessary
|
||||
{
|
||||
"stevearc/overseer.nvim",
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
"rmagatti/auto-session",
|
||||
lazy = false,
|
||||
|
||||
Reference in new issue
Block a user