48 lines
857 B
Lua
48 lines
857 B
Lua
vim.g.mapleader = " "
|
|
vim.g.maplocalleader = " "
|
|
|
|
vim.g.have_nerd_font = true
|
|
|
|
-- Remove duplicate mode cuz lualine
|
|
vim.opt.showmode = false
|
|
|
|
vim.opt.number = true
|
|
vim.opt.relativenumber = true
|
|
|
|
vim.opt.expandtab = true
|
|
vim.opt.tabstop = 4
|
|
vim.opt.softtabstop = 4
|
|
vim.opt.shiftwidth = 4
|
|
|
|
vim.opt.mouse = 'a'
|
|
vim.opt.clipboard = 'unnamedplus'
|
|
|
|
vim.opt.undofile = true
|
|
|
|
vim.opt.ignorecase = true
|
|
vim.opt.smartcase = true
|
|
|
|
vim.opt.signcolumn = 'auto'
|
|
|
|
vim.opt.updatetime = 250
|
|
|
|
-- Displays which-key sooner, once that's setupped
|
|
vim.opt.timeoutlen = 300
|
|
|
|
vim.opt.splitright = true
|
|
vim.opt.splitbelow = true
|
|
|
|
-- vim.opt.list = true
|
|
-- vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
|
|
|
vim.opt.list = true
|
|
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
|
|
|
vim.opt.cursorline = true
|
|
|
|
vim.opt.scrolloff = 8
|
|
|
|
vim.opt.hlsearch = true
|
|
|
|
|