Install plugins for zen mode and zz mapping for it

This commit is contained in:
2021-11-18 21:55:48 +03:00
parent 7f6ea8d788
commit 7d95762250
2 changed files with 9 additions and 0 deletions

View File

@@ -10,6 +10,12 @@ return require("packer").startup(function(use)
use({ "windwp/nvim-ts-autotag" }) use({ "windwp/nvim-ts-autotag" })
use({ "JoosepAlviste/nvim-ts-context-commentstring" }) use({ "JoosepAlviste/nvim-ts-context-commentstring" })
use({ "nvim-treesitter/playground" }) use({ "nvim-treesitter/playground" })
use({ "folke/twilight.nvim", config = function()
require("twilight").setup({})
end })
use({ "folke/zen-mode.nvim", config = function()
require("zen-mode").setup({})
end })
-- Make commenting code great -- Make commenting code great
use({ "tpope/vim-commentary" }) use({ "tpope/vim-commentary" })

View File

@@ -82,3 +82,6 @@ nmap("<leader>m", "<cmd>WinShift<CR>")
-- Iswap -- Iswap
nmap("<leader>sw", ":ISwap<CR>") nmap("<leader>sw", ":ISwap<CR>")
-- Zen mode
nmap("zz", ":ZenMode<CR>")