Add coc basic config, not fully working yet
This commit is contained in:
14
nvim-coc/lua/plugins/utility/zen-mode.lua
Executable file
14
nvim-coc/lua/plugins/utility/zen-mode.lua
Executable file
@@ -0,0 +1,14 @@
|
||||
return {
|
||||
-- view buffer w/o distractions
|
||||
"folke/zen-mode.nvim",
|
||||
config = function()
|
||||
require("zen-mode").setup({
|
||||
window = {
|
||||
width = 1,
|
||||
height = 1,
|
||||
},
|
||||
})
|
||||
|
||||
vim.keymap.set("n", "<leader>z", ":ZenMode<CR>", { silent = true, desc = "open current buffer in zen mode" })
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user