- This simple plugins stops neovim's default behavior of moving the scrollview to the center of screen when switching buffers
- For more pleasure you can use
vim.g.startofline = false
Using lazy.nvim
{
'svban/StickyCursor.nvim',
opts={},
}
vim.g.startofline = false
{
'svban/StickyCursor.nvim',
opts={},
}