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:
@ -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
|
||||
})
|
||||
|
Reference in New Issue
Block a user