23 lines
359 B
Lua
23 lines
359 B
Lua
local opt = vim.opt
|
|
|
|
opt.guicursor = "" -- For indentation
|
|
|
|
opt.relativenumber = true
|
|
opt.number = true
|
|
|
|
opt.tabstop = 2
|
|
opt.softtabstop = 2
|
|
opt.shiftwidth = 2
|
|
opt.smartindent = true
|
|
|
|
opt.hlsearch = false
|
|
opt.incsearch = true
|
|
|
|
opt.termguicolors = true
|
|
|
|
vim.g.rust_recommended_style = 0
|
|
|
|
local setkb = vim.keymap.set
|
|
|
|
-- For WSL
|
|
--setkb('n', '<M-v>', '<C-v>')
|