From b83a2da4b597fa2d25b57319391128a3896c3434 Mon Sep 17 00:00:00 2001 From: sevi-kun Date: Tue, 5 Sep 2023 21:40:50 +0200 Subject: [PATCH] Refine settings --- lua/sevi-kun/set.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lua/sevi-kun/set.lua b/lua/sevi-kun/set.lua index 2e85c95..b3f2c47 100644 --- a/lua/sevi-kun/set.lua +++ b/lua/sevi-kun/set.lua @@ -1,3 +1,5 @@ +vim.g.mapleader = " " + vim.opt.nu = true vim.opt.relativenumber = true vim.opt.ignorecase = true @@ -9,14 +11,14 @@ vim.opt.expandtab = true vim.opt.smartindent = true -vim.opt.wrap = false +vim.opt.wrap = true vim.opt.swapfile = false vim.opt.backup = false vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir" vim.opt.undofile = true -vim.opt.hlsearch = false +vim.opt.hlsearch = true vim.opt.incsearch = true vim.opt.termguicolors = true @@ -29,4 +31,6 @@ vim.opt.updatetime = 50 vim.opt.colorcolumn = "80" -vim.g.mapleader = " " +vim.g.netrw_preview = 1 +vim.g.netrw_liststyle = 3 +vim.g.netrw_winsize = 30