Finish NVIM refactor
This commit is contained in:
parent
53ef1f28c6
commit
7545885942
6 changed files with 108 additions and 31 deletions
|
@ -2,13 +2,19 @@
|
|||
|
||||
local opt = vim.opt
|
||||
|
||||
-- Leader key
|
||||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = "\\"
|
||||
|
||||
-- Basic Options I like
|
||||
opt.hlsearch = true
|
||||
opt.ignorecase = true
|
||||
opt.relativenumber = true
|
||||
opt.number = true
|
||||
opt.spell = true
|
||||
opt.swapfile = false
|
||||
opt.syntax = "on"
|
||||
opt.scrolloff = 15
|
||||
|
||||
-- Had this disabled before might not like
|
||||
opt.incsearch = true
|
||||
|
@ -18,7 +24,7 @@ opt.termguicolors = true
|
|||
|
||||
-- Good indents
|
||||
opt.tabstop = 2
|
||||
opt.shiftwidth = 2
|
||||
opt.shiftwidth = 0 -- Use tabstop
|
||||
opt.expandtab = true
|
||||
|
||||
-- Show trailing whitespace but fancy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue