This is the first commit that actually adds files to the repo. Yes it's a bad commit but now the major features are here
37 lines
564 B
Lua
37 lines
564 B
Lua
local ok, zen = pcall(require, 'zen-mode')
|
|
|
|
if not ok then
|
|
return
|
|
end
|
|
|
|
zen.setup {
|
|
window = {
|
|
backdrop = 1,
|
|
width = 0.85,
|
|
height = 0.50,
|
|
options = {
|
|
signcolumn = "no",
|
|
number = false,
|
|
relativenumber = false,
|
|
cursorline = true,
|
|
cursorcolumn = false,
|
|
list = false,
|
|
},
|
|
},
|
|
plugins = {
|
|
options = {
|
|
enabled = true,
|
|
ruler = false,
|
|
showcmd = false,
|
|
},
|
|
twilight = {enabled = true},
|
|
gitsigns = {enabled = true}
|
|
}
|
|
}
|
|
|
|
vim.keymap.set( 'n',
|
|
'<leader>z',
|
|
function ()
|
|
zen.toggle()
|
|
end, {desc = 'Toggle ZenMode'})
|