From 3eef0ec19ecadf395491df1e18136259f9da1353 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Fri, 7 Oct 2022 00:37:55 -0400 Subject: [PATCH] Install vim-zoom instead which actually works --- lua/install-plugins.lua | 7 +------ lua/plugins/neozoom.lua | 10 ---------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 lua/plugins/neozoom.lua diff --git a/lua/install-plugins.lua b/lua/install-plugins.lua index 66daf9c..c5b89d3 100644 --- a/lua/install-plugins.lua +++ b/lua/install-plugins.lua @@ -354,12 +354,7 @@ return require('packer').startup(function(use) end, requires = { "nvim-lua/plenary.nvim" }, } - use { - 'nyngwang/NeoZoom.lua', - config = function() - require('plugins.neozoom') - end, - } + use 'dhruvasagar/vim-zoom' -- Automatically set up your configuration after cloning packer.nvim -- Put this at the end after all plugins diff --git a/lua/plugins/neozoom.lua b/lua/plugins/neozoom.lua deleted file mode 100644 index b8decf3..0000000 --- a/lua/plugins/neozoom.lua +++ /dev/null @@ -1,10 +0,0 @@ -require('neo-zoom').setup({ - exclude_filetype = { 'fzf', 'qf', 'dashboard', 'telescope' }, - left_ratio = 0.05, - top_ratio = 0.03, - width_ratio = 0.9, - height_ratio = 0.9, -}) - -vim.keymap.set('n', 'o', [[:NeoZoomToggle]], { silent = true }) -vim.keymap.set('v', 'o', [[:NeoZoomTogglegv]], { silent = true })