This repository was archived by the owner on Apr 8, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ return {
2525 -- tables with the `name` key will be registered with which-key if it's installed
2626 -- this is useful for naming menus
2727 [" <leader>b" ] = { name = " Buffers" },
28+
29+ -- Editing
30+ [" zZ" ] = { " <cmd>ZenMode<cr>" , desc = " Zen mode" },
31+
2832 -- Git Menu
2933 -- Menu mappings
3034 [" <leader>gh" ] = false , -- disable Reset Git Hunk mapping
Original file line number Diff line number Diff line change @@ -19,7 +19,24 @@ return {
1919 { import = " astrocommunity.editing-support.nvim-regexplainer" },
2020 { import = " astrocommunity.editing-support.todo-comments-nvim" },
2121
22+ -- Distraction free editing
23+ { import = " astrocommunity.editing-support.zen-mode-nvim" },
2224 {
25+ " folke/zen-mode.nvim" ,
26+ opts = {
27+ -- override default configuration
28+ -- https://github.com/folke/zen-mode.nvim#%EF%B8%8F-configuration
29+ plugins = {
30+ options = {
31+ enabled = true ,
32+ },
33+ kitty = {
34+ enabled = true ,
35+ font = " +4" , -- font size increment
36+ -- font = "20", -- font size increment
37+ -- font_size = "20", -- font size increment
38+ },
39+ },
2340 },
2441 },
2542
You can’t perform that action at this time.
0 commit comments