Added init.lua.
This commit is contained in:
parent
7b2562d194
commit
4b57201891
22
.config/nvim/init.lua
Normal file
22
.config/nvim/init.lua
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
require('config.lazy')
|
||||||
|
|
||||||
|
o = vim.opt
|
||||||
|
|
||||||
|
o.number = true
|
||||||
|
o.relativenumber = true
|
||||||
|
o.hlsearch = false
|
||||||
|
o.syntax = 'on'
|
||||||
|
|
||||||
|
o.tabstop = 4
|
||||||
|
o.softtabstop = 4
|
||||||
|
o.shiftwidth = 4
|
||||||
|
o.expandtab = true
|
||||||
|
o.smartindent = true
|
||||||
|
|
||||||
|
o.foldmethod = 'indent'
|
||||||
|
o.foldlevel = 100
|
||||||
|
|
||||||
|
o.background = dark
|
||||||
|
vim.cmd('colorscheme gruvbox')
|
||||||
|
|
||||||
|
vim.keymap.set('n', '<space>', 'za', {desc = 'Toggle fold'})
|
Loading…
x
Reference in New Issue
Block a user