feat: custom sets and VimBeGood
- added custom sets for line numbers (absolute in Insert, relative in Normal) - added VimBeGood plugin
This commit is contained in:
parent
1915cea32e
commit
69a47e56d9
4 changed files with 54 additions and 6 deletions
12
lua/custom/set.lua
Normal file
12
lua/custom/set.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
vim.opt.relativenumber = true
|
||||
vim.opt.scrolloff = 8
|
||||
|
||||
vim.opt.colorcolumn = "80"
|
||||
|
||||
vim.api.nvim_exec([[
|
||||
augroup numbertoggle
|
||||
autocmd!
|
||||
autocmd InsertEnter * set norelativenumber
|
||||
autocmd InsertLeave * set relativenumber
|
||||
augroup END
|
||||
]], false)
|
||||
Loading…
Add table
Add a link
Reference in a new issue