diff options
| author | Max Bossing <info@maxbossing.de> | 2025-07-22 17:06:33 +0200 | 
|---|---|---|
| committer | Max Bossing <info@maxbossing.de> | 2025-07-22 17:06:33 +0200 | 
| commit | b426f25aef1f2be2b482bf0b256733eba0b1c5aa (patch) | |
| tree | cd67b7920531c45a7a48ea4a54e32ec6cc002b5e /nvim/lua/options.lua | |
| parent | abbbb47917049d4236ac7758cf56d8315620661b (diff) | |
smh so cool shit
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 + | 
