updates
This commit is contained in:
@@ -33,6 +33,7 @@ keymap.set("n", "<leader>tf", "<cmd>tabnew %<CR>", { desc = "Open current buffer
|
|||||||
|
|
||||||
-- bufferline
|
-- bufferline
|
||||||
keymap.set("n", "<Tab>", ":BufferLineCycleNext<CR>", { desc = "Go to next tab" })
|
keymap.set("n", "<Tab>", ":BufferLineCycleNext<CR>", { desc = "Go to next tab" })
|
||||||
|
keymap.set("n", "<S-Tab>", ":BufferLineCyclePrev<CR>", { desc = "Go to previous tab" })
|
||||||
keymap.set("n", "<leader>x", ":BufDel<CR>", { desc = "Close Current Tab" })
|
keymap.set("n", "<leader>x", ":BufDel<CR>", { desc = "Close Current Tab" })
|
||||||
|
|
||||||
-- Fterm
|
-- Fterm
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ opt.relativenumber = true -- show relative line numbers
|
|||||||
opt.number = true -- shows absolute line number on cursor line (when relative number is on)
|
opt.number = true -- shows absolute line number on cursor line (when relative number is on)
|
||||||
|
|
||||||
-- tabs & indentation
|
-- tabs & indentation
|
||||||
opt.tabstop = 4 -- 4 spaces for tabs (prettier default)
|
opt.tabstop = 2 -- 2 spaces for tabs (prettier default)
|
||||||
opt.shiftwidth = 4 -- 4 spaces for indent width
|
opt.shiftwidth = 2 -- 2 spaces for indent width
|
||||||
opt.expandtab = true -- expand tab to spaces
|
opt.expandtab = true -- expand tab to spaces
|
||||||
opt.autoindent = true -- copy indent from current line when starting new one
|
opt.autoindent = true -- copy indent from current line when starting new one
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ return {
|
|||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
"WhoIsSethDaniel/mason-tool-installer.nvim",
|
"WhoIsSethDaniel/mason-tool-installer.nvim",
|
||||||
},
|
},
|
||||||
|
cmd = { "Mason", "MasonInstall", "MasonInstallAll", "MasonUpdate" },
|
||||||
config = function()
|
config = function()
|
||||||
-- import mason
|
-- import mason
|
||||||
local mason = require("mason")
|
local mason = require("mason")
|
||||||
@@ -37,6 +38,7 @@ return {
|
|||||||
"emmet_ls",
|
"emmet_ls",
|
||||||
"prismals",
|
"prismals",
|
||||||
"pyright",
|
"pyright",
|
||||||
|
"django-template-lsp",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
Reference in New Issue
Block a user