22 lines
346 B
Lua
22 lines
346 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
|
|
|
|
setkb('n', '<M-v>', '<C-v>')
|