nvim: init: Make cursor line always be in the middle of the window

This commit is contained in:
Sanchayan Maity 2021-02-22 14:44:10 +05:30
parent c9526d8997
commit 060fc1d41c

View file

@ -43,6 +43,7 @@ vim.o.writebackup = false
vim.o.sessionoptions = 'buffers,curdir,tabpages,winsize' vim.o.sessionoptions = 'buffers,curdir,tabpages,winsize'
vim.o.shada = '' vim.o.shada = ''
vim.o.diffopt = 'filler,internal,algorithm:histogram,indent-heuristic' vim.o.diffopt = 'filler,internal,algorithm:histogram,indent-heuristic'
vim.o.scrolloff = 999
vim.bo.swapfile = false vim.bo.swapfile = false
vim.bo.formatoptions = "crqn1j" vim.bo.formatoptions = "crqn1j"