* 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:
parent
431b1bf351
commit
a352464116
5
after/plugin/zenmode.lua
Normal file
5
after/plugin/zenmode.lua
Normal 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" })
|
6
lua/custom/plugins/zen-mode.lua
Normal file
6
lua/custom/plugins/zen-mode.lua
Normal file
@ -0,0 +1,6 @@
|
||||
return {
|
||||
"Pocco81/true-zen.nvim",
|
||||
config = function()
|
||||
require("true-zen").setup {}
|
||||
end
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user