feat: add zen mode

This commit is contained in:
Youwen Wu 2024-07-14 02:33:18 -07:00
parent 93267df27f
commit d0774b5553
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 10 additions and 2 deletions

View file

@ -83,5 +83,6 @@
"vim-wakatime": { "branch": "master", "commit": "3cb40867cb5a3120f9bef76eff88edc7f1dc1a23" }, "vim-wakatime": { "branch": "master", "commit": "3cb40867cb5a3120f9bef76eff88edc7f1dc1a23" },
"vimtex": { "branch": "master", "commit": "80c9bc179784c30192d482741a43f176c859daa1" }, "vimtex": { "branch": "master", "commit": "80c9bc179784c30192d482741a43f176c859daa1" },
"which-key.nvim": { "branch": "main", "commit": "4d5b8959fd2a4df065ff76ccb39019aaa70cb0dc" }, "which-key.nvim": { "branch": "main", "commit": "4d5b8959fd2a4df065ff76ccb39019aaa70cb0dc" },
"yanky.nvim": { "branch": "main", "commit": "73215b77d22ebb179cef98e7e1235825431d10e4" } "yanky.nvim": { "branch": "main", "commit": "73215b77d22ebb179cef98e7e1235825431d10e4" },
} "zen-mode.nvim": { "branch": "main", "commit": "2694c5a2bc4dc26c7a9e74b9e2b812920c90a830" }
}

View file

@ -19,4 +19,11 @@ return {
}, },
}, },
}, },
{
"folke/zen-mode.nvim",
config = function()
require("zen-mode").setup {}
vim.api.nvim_set_keymap('n', '<Space>wz', ':ZenMode<CR>', { noremap = true, silent = true })
end
}
} }