17 lines
485 B
Lua
17 lines
485 B
Lua
|
local opt = vim.opt
|
||
|
|
||
|
opt.clipboard = vim.env.SSH_TTY and "" or "unnamedplus" -- Sync with system clipboard
|
||
|
opt.confirm = true
|
||
|
opt.cursorline = true
|
||
|
opt.expandtab = true
|
||
|
opt.ignorecase = true
|
||
|
opt.laststatus = 3 -- global statusline
|
||
|
opt.mouse = "a"
|
||
|
opt.shiftwidth = 4
|
||
|
opt.tabstop = 4
|
||
|
opt.showmode = false
|
||
|
opt.termguicolors = true -- True color support
|
||
|
opt.virtualedit = "block" -- Allow cursor to move where there is no text in visual block mode
|
||
|
opt.wrap = false
|
||
|
opt.smoothscroll = true
|