chore(astrocore): simplify `L` and `H` example mappings

pull/14/head
Micah Halter 2024-04-06 08:09:53 -04:00
parent a52fcde0cd
commit a703cdbe01
No known key found for this signature in database
GPG Key ID: 4224A6EA9A8CAAA8
1 changed files with 2 additions and 8 deletions

View File

@ -47,14 +47,8 @@ return {
-- second key is the lefthand side of the map
-- navigate buffer tabs with `H` and `L`
-- L = {
-- function() require("astrocore.buffer").nav(vim.v.count > 0 and vim.v.count or 1) end,
-- desc = "Next buffer",
-- },
-- H = {
-- function() require("astrocore.buffer").nav(-(vim.v.count > 0 and vim.v.count or 1)) end,
-- desc = "Previous buffer",
-- },
L = { function() require("astrocore.buffer").nav(vim.v.count1) end, desc = "Next buffer" },
H = { function() require("astrocore.buffer").nav(-vim.v.count1) end, desc = "Previous buffer" },
-- mappings seen under group name "Buffer"
["<Leader>bD"] = {