diff options
Diffstat (limited to 'nvim/lua/options.lua')
| -rw-r--r-- | nvim/lua/options.lua | 35 | 
1 files changed, 35 insertions, 0 deletions
| diff --git a/nvim/lua/options.lua b/nvim/lua/options.lua new file mode 100644 index 0000000..a7cce04 --- /dev/null +++ b/nvim/lua/options.lua @@ -0,0 +1,35 @@ +vim.g.loaded_netrw = 1 +vim.g.loaded_netrwPlugin = 1 + +vim.opt.termguicolors = true +vim.o.background = "dark" + +vim.opt.colorcolumn = "80" +vim.opt.updatetime = 50 + +-- Map leader to space +vim.g.mapleader = ' ' + +-- Tabs sind für lutscher +vim.opt.tabstop = 2 +vim.opt.shiftwidth = 2 +vim.o.expandtab = true +vim.opt.smartindent = true + +-- QoL for search +vim.opt.hlsearch = false +vim.opt.incsearch = true + +-- Scrolling +vim.opt.scrolloff = 10 +vim.opt.signcolumn = "yes" +vim.opt.isfname:append('@-@') + +-- Numbers on the side +vim.wo.number = true +vim.wo.relativenumber = true  +vim.o.ruler = true + +-- Show something in the command line not sure +vim.o.showcmd = true + | 
