nvim/lua/config/options.lua
Maurice Grönwoldt 18da9560c6
Initial Commit
2025-07-30 16:05:16 +02:00

42 lines
938 B
Lua

vim.g.have_nerd_font = true
vim.opt.langmap = "+]ü["
vim.keymap.set("n", "ü", "[", { remap = true })
vim.opt.expandtab = true -- Convert tabs to spaces
vim.opt.shiftwidth = 4 -- Amount to indent with << and >>
vim.opt.tabstop = 4 -- How many spaces are shown per Tab
vim.opt.softtabstop = 4 -- How many spaces are applied when pressing Tab
vim.opt.smarttab = true
vim.opt.smartindent = true
vim.opt.autoindent = true -- Keep identation from previous line
vim.opt.breakindent = true
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.cursorline = true
vim.opt.undofile = true
vim.opt.mouse = "a"
vim.opt.showmode = false
vim.opt.ignorecase = true
vim.opt.smartcase = true
vim.opt.signcolumn = "yes"
vim.opt.splitright = true
vim.opt.splitbelow = true
vim.opt.list = true
vim.opt.listchars = { tab = "» ", trail = "·", nbsp = "" }
vim.opt.scrolloff = 5
vim.opt.cmdheight = 0
vim.opt.clipboard = "unnamedplus"