Install vim-zoom instead which actually works

This commit is contained in:
Tyler Hallada 2023-12-01 15:26:00 -05:00
parent df428dcefd
commit 820e560b09
2 changed files with 1 additions and 16 deletions

View File

@ -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

View File

@ -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', '<C-w>o', [[<Cmd>:NeoZoomToggle<CR>]], { silent = true })
vim.keymap.set('v', '<C-w>o', [[<Cmd>:NeoZoomToggle<CR>gv]], { silent = true })