refactored editor config

This commit is contained in:
Patrick 2024-08-23 11:45:45 +02:00
parent 7c2d1a4bfb
commit 2934dd2ed9
2 changed files with 20 additions and 15 deletions

View File

@ -1,22 +1,9 @@
-- Encoding
vim.opt.encoding = "UTF-8"
-- Line numbers
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.cursorline = true
-- Formatting
-- -- Indent
vim.opt.shiftwidth = 4
vim.opt.tabstop = 4
vim.opt.autoindent = true
vim.opt.expandtab = false
-- Terminal
vim.opt.wildmenu = true
vim.opt.showcmd = true
vim.opt.showmatch = true
--vim.opt.wildmenu = true
--vim.opt.showmatch = true
-- Mouse
vim.opt.mouse = "a"

View File

@ -1 +1,19 @@
-- for colorizer.nvim
vim.o.termguicolors = true
-- Line numbers
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.cursorline = true
-- Commands
vim.opt.showcmd = true
-- Formatting
-- -- Indent
vim.opt.shiftwidth = 4
vim.opt.tabstop = 4
vim.opt.autoindent = true
vim.opt.expandtab = false
vim.opt.softtabstop = 4