Set scrolloff

This commit is contained in:
David Francis 2023-06-23 18:26:29 +01:00
parent 1feb6300d7
commit 08d77ce845
1 changed files with 7 additions and 10 deletions

View File

@ -70,6 +70,10 @@ require('lazy').setup({
}, },
}, },
{
'github/copilot.vim',
},
-- Useful plugin to show you pending keybinds. -- Useful plugin to show you pending keybinds.
{ 'folke/which-key.nvim', opts = {} }, { 'folke/which-key.nvim', opts = {} },
{ {
@ -93,15 +97,6 @@ require('lazy').setup({
}, },
}, },
-- {
-- -- Theme inspired by Atom
-- 'navarasu/onedark.nvim',
-- priority = 1000,
-- config = function()
-- vim.cmd.colorscheme 'onedark'
-- end,
-- },
{ {
"catppuccin/nvim", "catppuccin/nvim",
name = "catppuccin", name = "catppuccin",
@ -224,6 +219,8 @@ vim.o.tabstop = 4
vim.o.shiftwidth = 4 vim.o.shiftwidth = 4
vim.o.expandtab = true vim.o.expandtab = true
vim.o.scrolloff = 8
-- [[ Basic Keymaps ]] -- [[ Basic Keymaps ]]
-- Keymaps for better default experience -- Keymaps for better default experience