Starting to move all vim to lua
This commit is contained in:
@@ -1,14 +1,25 @@
|
||||
-- Filetypes and compatibility
|
||||
vim.opt.compatible = false
|
||||
vim.cmd("filetype on")
|
||||
vim.cmd("filetype plugin on")
|
||||
vim.cmd("syntax on")
|
||||
|
||||
-- Editor configuration
|
||||
vim.opt.number = true
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.showmatch = true
|
||||
vim.opt.splitright = true
|
||||
vim.opt.splitbelow = true
|
||||
vim.g.mapleader = ","
|
||||
|
||||
-- GUI
|
||||
vim.opt.cursorline = true
|
||||
vim.opt.hlsearch = true
|
||||
vim.opt.encoding = "UTF-8"
|
||||
vim.g.tex_flavor = "latex"
|
||||
vim.opt.conceallevel = 2
|
||||
vim.g.mapleader = ","
|
||||
vim.opt.showmatch = true
|
||||
|
||||
-- set color scheme
|
||||
vim.opt.termguicolors = true
|
||||
|
||||
Reference in New Issue
Block a user