refactored editor config
This commit is contained in:
parent
7c2d1a4bfb
commit
2934dd2ed9
|
|
@ -1,22 +1,9 @@
|
||||||
-- Encoding
|
-- Encoding
|
||||||
vim.opt.encoding = "UTF-8"
|
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
|
-- Terminal
|
||||||
vim.opt.wildmenu = true
|
--vim.opt.wildmenu = true
|
||||||
vim.opt.showcmd = true
|
--vim.opt.showmatch = true
|
||||||
vim.opt.showmatch = true
|
|
||||||
|
|
||||||
-- Mouse
|
-- Mouse
|
||||||
vim.opt.mouse = "a"
|
vim.opt.mouse = "a"
|
||||||
|
|
|
||||||
|
|
@ -1 +1,19 @@
|
||||||
|
-- for colorizer.nvim
|
||||||
vim.o.termguicolors = true
|
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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue