27 lines
580 B
Lua
27 lines
580 B
Lua
-- Leader key
|
|
vim.g.mapleader = ' '
|
|
|
|
-- Basic Settings
|
|
vim.opt.number = true
|
|
vim.opt.relativenumber = true
|
|
vim.opt.mouse = 'a'
|
|
vim.opt.ignorecase = true
|
|
vim.opt.smartcase = true
|
|
vim.opt.hlsearch = false
|
|
vim.opt.wrap = false
|
|
vim.opt.tabstop = 2
|
|
vim.opt.shiftwidth = 2
|
|
vim.opt.expandtab = true
|
|
vim.opt.termguicolors = true
|
|
vim.opt.cursorline = true
|
|
vim.opt.signcolumn = 'yes'
|
|
vim.opt.clipboard = "unnamedplus"
|
|
|
|
-- new additions
|
|
vim.scriptencoding = "utf-8"
|
|
vim.opt.encoding = "utf-8"
|
|
vim.opt.smartindent = true
|
|
vim.opt.hlsearch = true
|
|
vim.opt.backup = false
|
|
vim.opt.scrolloff = 10
|