init.lua/lua/options.lua(view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
local o = vim.opt
-- Mappings
vim.g.mapleader = " "
vim.g.maplocalleader = ","
-- general
o.completeopt = { "menuone", "noselect" }
o.clipboard = "unnamedplus"
o.cmdheight = 1
o.fileencoding = "utf-8"
o.hidden = true
o.ignorecase = true
o.mouse = "a"
o.pumheight = 8
o.showmode = false
o.smartcase = true
o.smartindent = true
o.splitbelow = true
o.splitright = true
o.swapfile = false
o.termguicolors = true
o.title = true
o.undofile = true
o.updatetime = 1500
o.writebackup = false
o.expandtab = true
o.shiftwidth = 2
o.tabstop = 2
o.cursorline = true
o.number = true
o.numberwidth = 4
o.signcolumn = "yes"
o.wrap = false
o.scrolloff = 8
o.sidescrolloff = 8
|