inital commit
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
vim.bo.shiftwidth = 2
|
||||
vim.bo.tabstop = 2
|
||||
vim.bo.softtabstop = 2
|
||||
vim.bo.textwidth = 120
|
||||
@@ -0,0 +1,4 @@
|
||||
vim.bo.shiftwidth = 2
|
||||
vim.bo.tabstop = 2
|
||||
vim.bo.softtabstop = 2
|
||||
vim.bo.textwidth = 120
|
||||
@@ -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
|
||||
]]
|
||||
|
||||
Reference in New Issue
Block a user