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:
parent
95fcc5e416
commit
0953326894
1 changed files with 0 additions and 1 deletions
|
|
@ -26,7 +26,6 @@ auto('BufRead', {
|
||||||
group = bufcheck,
|
group = bufcheck,
|
||||||
desc = 'Return to the last place the buffer was closed in.',
|
desc = 'Return to the last place the buffer was closed in.',
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.api.nvim_input('zz')
|
|
||||||
vim.cmd.call([[setpos(".", getpos("'\""))]])
|
vim.cmd.call([[setpos(".", getpos("'\""))]])
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue