Skip to content

Commit

Permalink
feat(editing-support): Add descriptions to true zen bindings (#261)
Browse files Browse the repository at this point in the history
* Add descriptions to true zen bindings

* fix formatting

---------

Co-authored-by: Micah Halter <micah@mehalter.com>
  • Loading branch information
Sacro and mehalter authored Jun 5, 2023
1 parent 0bdf9ef commit 7f72b6b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,17 @@ return {
{
"<leader>zf",
function() require("true-zen").focus() end,
desc = "Focus (True Zen)",
},
{
"<leader>zm",
function() require("true-zen").minimalist() end,
desc = "Minimalist (True Zen)",
},
{
"<leader>za",
function() require("true-zen").ataraxis() end,
desc = "Ataraxis (True Zen)",
},
{
"<leader>zn",
Expand All @@ -30,6 +33,7 @@ return {
local last = vim.api.nvim_buf_line_count(0)
truezen.narrow(first, last)
end,
desc = "Narrow (True Zen)",
},
{
"<leader>zn",
Expand All @@ -39,6 +43,7 @@ return {
local last = vim.fn.line "."
truezen.narrow(first, last)
end,
desc = "Narrow (True Zen)",
mode = { "v" },
},
},
Expand Down

0 comments on commit 7f72b6b

Please sign in to comment.