This commit is contained in:
2025-06-05 17:19:12 -05:00
parent ae57b45205
commit d32a0fff18
3 changed files with 5 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ keymap.set("n", "<leader>tf", "<cmd>tabnew %<CR>", { desc = "Open current buffer
-- bufferline
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" })
-- Fterm

View File

@@ -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)
-- tabs & indentation
opt.tabstop = 4 -- 4 spaces for tabs (prettier default)
opt.shiftwidth = 4 -- 4 spaces for indent width
opt.tabstop = 2 -- 2 spaces for tabs (prettier default)
opt.shiftwidth = 2 -- 2 spaces for indent width
opt.expandtab = true -- expand tab to spaces
opt.autoindent = true -- copy indent from current line when starting new one

View File

@@ -4,6 +4,7 @@ return {
"williamboman/mason-lspconfig.nvim",
"WhoIsSethDaniel/mason-tool-installer.nvim",
},
cmd = { "Mason", "MasonInstall", "MasonInstallAll", "MasonUpdate" },
config = function()
-- import mason
local mason = require("mason")
@@ -37,6 +38,7 @@ return {
"emmet_ls",
"prismals",
"pyright",
"django-template-lsp",
},
})