aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/zenmode.lua
diff options
context:
space:
mode:
authorElvis Claros Castro <elvis@claros.ar>2026-06-27 22:48:15 -0300
committerElvis Claros Castro <elvis@claros.ar>2026-06-27 22:48:15 -0300
commita0bd84df02ce235123dfc939327e8bd33dffdd7e (patch)
tree3a1f3095863502f01a112275a839d81ce832de1c /lua/plugins/zenmode.lua
parent2895ac732dce0eece5ab2586f5d4d76ee0fab710 (diff)
downloadnvim-conf-a0bd84df02ce235123dfc939327e8bd33dffdd7e.tar.gz
nvim-conf-a0bd84df02ce235123dfc939327e8bd33dffdd7e.zip
Remplazando y eliminando plugins a favor de cosas nativas.
Diffstat (limited to 'lua/plugins/zenmode.lua')
-rw-r--r--lua/plugins/zenmode.lua44
1 files changed, 0 insertions, 44 deletions
diff --git a/lua/plugins/zenmode.lua b/lua/plugins/zenmode.lua
deleted file mode 100644
index a6922c6..0000000
--- a/lua/plugins/zenmode.lua
+++ /dev/null
@@ -1,44 +0,0 @@
--- Calculate min width of the window should be 70% of the editor width or 90 columns
--- whichever is smaller
-local function zen_mode_width()
- local width = vim.api.nvim_win_get_width(0)
- local min_width = math.max(width * 0.70, 90)
- return math.min(width, min_width)
-end
-
-return {
- {
- "folke/zen-mode.nvim",
- cmd = { "ZenMode" },
- opts = {
- window = {
- width = zen_mode_width(),
- },
- plugins = {
- options = {
- enabled = true,
- ruler = false, -- disables the ruler text in the cmd line area
- showcmd = false, -- disables the command in the last line of the screen
- laststatus = 0, -- turn off the statusline in zen mode
- },
- -- NOTE: Those options are disables by default, change to enabled = true to enable
- gitsigns = { enabled = false }, -- disables git signs
- tmux = { enabled = false }, -- disables the tmux statusline
- -- NOTE: Need to add to wezterm config https://github.com/folke/zen-mode.nvim#wezterm
- wezterm = {
- enabled = false,
- font = "+1", -- +1 font size or fixed size, e.g. 21
- },
- },
- },
- config = true,
- keys = {
- -- add <leader>cz to enter zen mode
- {
- "<leader>cz",
- "<cmd>ZenMode<cr>",
- desc = "Distraction Free Mode",
- },
- },
- },
-}