remove auto center when returning to last place in buffer

This had to be removed due to random "zz"'s being inserted
whenever a bufread was called while I was insert mode

there's probably a better way to center the pane, but that's
too much of a pain to worry about right now
This commit is contained in:
2024-11-19 13:14:06 -06:00
parent 95fcc5e416
commit 0953326894

View File

@ -26,7 +26,6 @@ auto('BufRead', {
group = bufcheck,
desc = 'Return to the last place the buffer was closed in.',
callback = function()
vim.api.nvim_input('zz')
vim.cmd.call([[setpos(".", getpos("'\""))]])
end
})