Add zen-mode and twilight plugins
This commit is contained in:
parent
25c4204419
commit
79f730c6ab
|
@ -18,6 +18,7 @@ vim.keymap.set("i", "jk", "<esc>")
|
|||
vim.keymap.set("n", "<leader>l", "<cmd>Lazy<CR>")
|
||||
vim.keymap.set("n", "<leader>m", "<cmd>Mason<CR>")
|
||||
vim.keymap.set("n", "<leader>s", "<cmd>Dashboard<CR>")
|
||||
vim.keymap.set("n", "<leader>z", "<cmd>ZenMode<CR>")
|
||||
vim.keymap.set({ "n", "t" }, "<A-h>", "<CMD>NavigatorLeft<CR>")
|
||||
vim.keymap.set({ "n", "t" }, "<A-l>", "<CMD>NavigatorRight<CR>")
|
||||
vim.keymap.set({ "n", "t" }, "<A-k>", "<CMD>NavigatorUp<CR>")
|
||||
|
|
16
config/nvim/lua/plugins/zen_mode.lua
Normal file
16
config/nvim/lua/plugins/zen_mode.lua
Normal file
|
@ -0,0 +1,16 @@
|
|||
return {
|
||||
"folke/zen-mode.nvim",
|
||||
cmd = "ZenMode",
|
||||
config = function() require("zen-mode").setup() end,
|
||||
dependencies = {
|
||||
"folke/twilight.nvim",
|
||||
cmd = {
|
||||
"TwilightEnable",
|
||||
"Twilight",
|
||||
},
|
||||
config = function() require("twilight").setup() end,
|
||||
dependencies = {
|
||||
"nvim-treesitter",
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Reference in a new issue