* feat(zenmode.lua): add key mappings for TZNarrow and TZAtaraxis

* feat(zen-mode.lua): add TrueZen plugin to the configuration
This commit is contained in:
PeteChu 2023-04-03 23:32:01 +07:00
parent 431b1bf351
commit a352464116
2 changed files with 11 additions and 0 deletions

5
after/plugin/zenmode.lua Normal file
View File

@ -0,0 +1,5 @@
local keymap = vim.keymap
keymap.set("n", "<leader>zn", ":TZNarrow<CR>", { desc = "[Z]en [N]arrow" })
keymap.set("v", "<leader>zn", ":'<,'>TZNarrow<CR>", { desc = "[Z]en [N]arrow" })
keymap.set("n", "<leader>zz", ":TZAtaraxis<CR>", { desc = "[Z]en [z]en" })

View File

@ -0,0 +1,6 @@
return {
"Pocco81/true-zen.nvim",
config = function()
require("true-zen").setup {}
end
}