Skip to content

Commit

Permalink
feat: zenmode
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePrimeagen committed Dec 12, 2022
1 parent e7c7507 commit c8c0bf4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions after/plugin/zenmode.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
require("zen-mode").setup {
window = {
width = 90,
options = {
number = true,
relativenumber = true,
}
},
}

vim.keymap.set("n", "<leader>zz", function()
require("zen-mode").toggle()
vim.wo.wrap = false
ColorMyPencils()
end)
2 changes: 2 additions & 0 deletions lua/theprimeagen/packer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,7 @@ return require('packer').startup(function(use)
}
}

use("folke/zen-mode.nvim")

end)

1 comment on commit c8c0bf4

@LeaoMartelo2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it roblox

Please sign in to comment.