Set line width in zen_mode for better writing experience
This commit is contained in:
parent
4e2e50125d
commit
921175c7ef
|
@ -6,6 +6,7 @@ return {
|
|||
config = true,
|
||||
opts = {
|
||||
window = {
|
||||
width = 80,
|
||||
options = {
|
||||
signcolumn = "no", -- disable signcolumn
|
||||
number = false, -- disable number column
|
||||
|
@ -19,12 +20,17 @@ return {
|
|||
plugins = {
|
||||
options = {
|
||||
enabled = true,
|
||||
ruler = false,
|
||||
showcmd = false,
|
||||
},
|
||||
twilight = { enabled = true },
|
||||
gitsigns = { enabled = true },
|
||||
tmux = { enabled = true },
|
||||
wezterm = {
|
||||
enabled = false,
|
||||
font = "+4", -- (10% increase per step)
|
||||
},
|
||||
},
|
||||
on_open = function(win) vim.wo.scrolloff = 999 end,
|
||||
on_close = function(win) vim.wo.scrolloff = 0 end,
|
||||
on_close = function(win) vim.wo.scrolloff = -1 end,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue