Add vim background option, update formatting

This commit is contained in:
Gene Liverman 2024-01-02 16:06:59 -05:00
parent 0962ff6eca
commit e0a83fdeb8

View file

@ -1,6 +1,9 @@
vim.g.mapleader = " " vim.g.mapleader = " "
vim.g.maplocalleader = " " vim.g.maplocalleader = " "
-- make sure vim know I always have a dark terminal
vim.opt.background = "dark"
-- use spaces for tabs and whatnot -- use spaces for tabs and whatnot
vim.opt.expandtab = true vim.opt.expandtab = true
vim.opt.tabstop = 2 vim.opt.tabstop = 2
@ -8,4 +11,4 @@ vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2 vim.opt.shiftwidth = 2
vim.opt.shiftround = true vim.opt.shiftround = true
vim.keymap.set('n', '<leader>h', ':nohlsearch<CR>') vim.keymap.set("n", "<leader>h", ":nohlsearch<CR>")