summaryrefslogtreecommitdiff
path: root/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/zenmode.lua
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-19 18:34:13 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-19 18:34:13 +0900
commit307fceea38b7352a79b0bdb87025a34b76973867 (patch)
tree382eb3e6a11973bc2c6ba33eee14d43ec2a9566b /ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/zenmode.lua
parentb66f68b8c014a3041c936ee9de1b57db5bcb50fb (diff)
updates
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/zenmode.lua')
-rw-r--r--ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/zenmode.lua46
1 files changed, 0 insertions, 46 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/zenmode.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/zenmode.lua
deleted file mode 100644
index beb48f5..0000000
--- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/zenmode.lua
+++ /dev/null
@@ -1,46 +0,0 @@
-return {
- "folke/zen-mode.nvim",
- opts = {},
- config = function()
- vim.keymap.set("n", "<leader>zz", function()
- require("zen-mode").toggle({
- -- callback where you can add custom code when the Zen window opens
- on_open = function()
- vim.wo.wrap = true
- vim.wo.number = true
- vim.wo.rnu = true
- end,
- -- callback where you can add custom code when the Zen window closes
- on_close = function()
- vim.wo.wrap = false
- vim.wo.number = true
- vim.wo.rnu = true
- ColorMyPencils()
- end,
- })
- end, { desc = "Toggle zenmode" })
-
- vim.keymap.set("n", "<leader>zZ", function()
- require("zen-mode").toggle({
- window = {
- width = 90,
- },
- -- callback where you can add custom code when the Zen window opens
- on_open = function()
- vim.wo.wrap = true
- vim.wo.number = false
- vim.wo.rnu = false
- vim.opt.colorcolumn = "0"
- ColorMyPencils("seoul256")
- end,
- -- callback where you can add custom code when the Zen window closes
- on_close = function()
- vim.wo.wrap = false
- vim.wo.number = true
- vim.wo.rnu = true
- ColorMyPencils()
- end,
- })
- end, { desc = "Toggle zenmode (custom)" })
- end,
-}