Install vim-zoom instead which actually works

This commit is contained in:
Tyler Hallada 2022-10-07 00:37:55 -04:00
parent 6d4f4d4a31
commit 3eef0ec19e
2 changed files with 1 additions and 16 deletions

View File

@ -354,12 +354,7 @@ return require('packer').startup(function(use)
end, end,
requires = { "nvim-lua/plenary.nvim" }, requires = { "nvim-lua/plenary.nvim" },
} }
use { use 'dhruvasagar/vim-zoom'
'nyngwang/NeoZoom.lua',
config = function()
require('plugins.neozoom')
end,
}
-- Automatically set up your configuration after cloning packer.nvim -- Automatically set up your configuration after cloning packer.nvim
-- Put this at the end after all plugins -- 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 })