diff options
Diffstat (limited to 'dot_config/nvim.new/lua/ibrahim/options.lua')
| -rw-r--r-- | dot_config/nvim.new/lua/ibrahim/options.lua | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dot_config/nvim.new/lua/ibrahim/options.lua b/dot_config/nvim.new/lua/ibrahim/options.lua new file mode 100644 index 0000000..9e7252b --- /dev/null +++ b/dot_config/nvim.new/lua/ibrahim/options.lua @@ -0,0 +1,35 @@ +local opt = vim.opt + +opt.incsearch = true + +opt.number = true +opt.relativenumber = true + +opt.scrolloff = 8 + +vim.o.foldtext = "" +opt.foldlevelstart = 1 + +opt.conceallevel = 2 + +opt.tabstop = 4 +opt.softtabstop = 4 +opt.shiftwidth = 0 +opt.expandtab = true + +opt.autoindent = true +opt.smartindent = true +opt.breakindent = true + +opt.swapfile = false +opt.backup = false +opt.undodir = vim.fn.expand("~/.vim/undodir") +opt.undofile = true + +opt.ignorecase = true +opt.smartcase = true + +opt.updatetime = 250 + +vim.o.background = "dark" +vim.cmd([[colorscheme rose-pine]]) |
