From 52bf43a2a7a7bb9a7bdb51e14d519096d8551475 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 29 Apr 2024 12:46:35 -0400 Subject: [PATCH] neovim: Drop zen-mode-nvim I never used this and it seems to cause more issues than it's worth. It's easier to simply hide the tree on the left and manually adjust the size of the kitty window. --- home/neovim.nix | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/home/neovim.nix b/home/neovim.nix index 8630390d..5c233d24 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -155,7 +155,6 @@ in nnoremap j :Buffers nnoremap l :Rg nnoremap ; :NvimTreeToggle - nnoremap z :ZenMode nnoremap b :Vista!! vnoremap y:silent !notify-send -t 4000 "成果" "$(tango '0')": @@ -420,29 +419,6 @@ in } ''; } - { - plugin = zen-mode-nvim; - type = "lua"; - config = /* lua */ '' - require("zen-mode").setup({ - window = { - backdrop = 1, - width = 80, - height = 0.9, - options = { - signcolumn = "no", - number = false, - }, - }, - on_open = function(win) - vim.cmd("ScrollbarHide") - end, - on_close = function() - vim.cmd("ScrollbarShow") - end, - }) - ''; - } { plugin = nvim-autopairs; type = "lua";