inital commit

This commit is contained in:
2022-12-19 15:52:56 -07:00
commit 699efee232
20 changed files with 819 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
vim.bo.shiftwidth = 2
vim.bo.tabstop = 2
vim.bo.softtabstop = 2
vim.bo.textwidth = 120
+4
View File
@@ -0,0 +1,4 @@
vim.bo.shiftwidth = 2
vim.bo.tabstop = 2
vim.bo.softtabstop = 2
vim.bo.textwidth = 120
+31
View File
@@ -0,0 +1,31 @@
local api = vim.api
local g = vim.g
local opt = vim.opt
-- <Space> leader
api.nvim_set_keymap("", "<Space>", "<Nop>", {noremap = true, silent = true })
g.mapleader = " "
g.maplocalleader = " "
opt.termguicolors = true
opt.hlsearch = true
opt.number = true
opt.relativenumber = true
opt.mouse = "a"
opt.breakindent = true
opt.undofile = true
opt.ignorecase = true
opt.smartcase = true
opt.updatetime = 250
opt.signcolumn = "yes"
opt.clipboard = "unnamedplus"
vim.cmd [[
augroup YankHighlight
autocmd!
autocmd TextYankPost * silent! lua vim.highlight.on_yank()
augroup end
]]