From d0774b5553b831d215249e33e18310525fc23fd1 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 14 Jul 2024 02:33:18 -0700 Subject: [PATCH] feat: add zen mode --- lazy-lock.json | 5 +++-- lua/plugins/ui.lua | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 32933d7..9e08ecd 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -83,5 +83,6 @@ "vim-wakatime": { "branch": "master", "commit": "3cb40867cb5a3120f9bef76eff88edc7f1dc1a23" }, "vimtex": { "branch": "master", "commit": "80c9bc179784c30192d482741a43f176c859daa1" }, "which-key.nvim": { "branch": "main", "commit": "4d5b8959fd2a4df065ff76ccb39019aaa70cb0dc" }, - "yanky.nvim": { "branch": "main", "commit": "73215b77d22ebb179cef98e7e1235825431d10e4" } -} \ No newline at end of file + "yanky.nvim": { "branch": "main", "commit": "73215b77d22ebb179cef98e7e1235825431d10e4" }, + "zen-mode.nvim": { "branch": "main", "commit": "2694c5a2bc4dc26c7a9e74b9e2b812920c90a830" } +} diff --git a/lua/plugins/ui.lua b/lua/plugins/ui.lua index 6d469ec..077db8e 100644 --- a/lua/plugins/ui.lua +++ b/lua/plugins/ui.lua @@ -19,4 +19,11 @@ return { }, }, }, + { + "folke/zen-mode.nvim", + config = function() + require("zen-mode").setup {} + vim.api.nvim_set_keymap('n', 'wz', ':ZenMode', { noremap = true, silent = true }) + end + } }