Skip to content

Commit

Permalink
refactor: disable line wrapping and add scrolloff
Browse files Browse the repository at this point in the history
  • Loading branch information
albingroen committed Dec 18, 2023
1 parent 9fbc6e9 commit 4a22a66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
-- Basic settings
vim.g.mapleader = " "
vim.g.maplocalleader = " "
vim.wo.wrap = false
vim.opt.cursorline = true
vim.opt.ignorecase = true
vim.opt.incsearch = true
Expand All @@ -21,6 +22,8 @@ vim.opt.swapfile = false
vim.opt.list = true
vim.opt.laststatus = 3
vim.opt.pumheight = 10
vim.opt.scrolloff = 3
vim.opt.sidescrolloff = 3

-- Basic mappings
vim.keymap.set("n", "<C-H>", "<C-W><C-H>")
Expand Down

0 comments on commit 4a22a66

Please sign in to comment.