chore(mappings): improve example mappings

pull/1/head
Micah Halter 2023-07-31 10:13:49 -04:00
parent e9875c83b6
commit d0eaa28b5a
No known key found for this signature in database
GPG Key ID: 4224A6EA9A8CAAA8
1 changed files with 11 additions and 1 deletions

View File

@ -8,8 +8,18 @@ return {
-- first key is the mode -- first key is the mode
n = { n = {
-- second key is the lefthand side of the map -- second key is the lefthand side of the map
-- navigate buffer tabs with `H` and `L`
-- L = {
-- function() require("astronvim.utils.buffer").nav(vim.v.count > 0 and vim.v.count or 1) end,
-- desc = "Next buffer",
-- },
-- H = {
-- function() require("astronvim.utils.buffer").nav(-(vim.v.count > 0 and vim.v.count or 1)) end,
-- desc = "Previous buffer",
-- },
-- mappings seen under group name "Buffer" -- mappings seen under group name "Buffer"
["<leader>bn"] = { "<cmd>tabnew<cr>", desc = "New tab" },
["<leader>bD"] = { ["<leader>bD"] = {
function() function()
require("astroui.status.heirline").buffer_picker( require("astroui.status.heirline").buffer_picker(