Set scrolloff so cursor stays centered

This commit is contained in:
Corey Stock 2024-02-27 00:04:19 -08:00
parent 15c12fa261
commit 10486fac3c
2 changed files with 26 additions and 27 deletions

View file

@ -101,9 +101,6 @@ require('lazy').setup({
'folke/neodev.nvim',
},
},
{
'simrat39/rust-tools.nvim'
},
{
-- Autocompletion
@ -302,6 +299,9 @@ vim.o.mouse = 'a'
-- See `:help 'clipboard'`
vim.o.clipboard = 'unnamedplus'
-- Centers the cursor after jumping
vim.o.scrolloff = 999
-- Enable break indent
vim.o.breakindent = true