✨ feat(nvim): add toggle tabline keymap
This commit is contained in:
parent
d8ea9d61a6
commit
53b0b9d24f
1 changed files with 9 additions and 0 deletions
|
@ -69,6 +69,15 @@ map("n", "<leader>uS", function()
|
|||
end
|
||||
end, { desc = "Toggle Statusline" })
|
||||
|
||||
-- Toggle tabline
|
||||
map("n", "<leader>u<tab>", function()
|
||||
if o.showtabline:get() == 0 then
|
||||
o.showtabline = 2
|
||||
else
|
||||
o.showtabline = 0
|
||||
end
|
||||
end, { desc = "Toggle Tabline" })
|
||||
|
||||
-- Plugin Info
|
||||
map("n", "<leader>cif", "<cmd>LazyFormatInfo<cr>", { desc = "Formatting" })
|
||||
map("n", "<leader>cic", "<cmd>ConformInfo<cr>", { desc = "Conform" })
|
||||
|
|
Loading…
Add table
Reference in a new issue