30 lines
772 B
Lua
30 lines
772 B
Lua
|
-- see `:help` for any questions
|
||
|
-- use `&<var>` to show value of vimscript variable
|
||
|
|
||
|
|
||
|
-- API --
|
||
|
local o = vim.o -- options
|
||
|
local go = vim.go -- only-global options
|
||
|
local bo = vim.bo -- buffer local options
|
||
|
local wo = vim.wo -- window local options
|
||
|
|
||
|
local cmd = vim.cmd -- vim commands
|
||
|
local fn = vim.fn -- vim functions
|
||
|
local opt = vim.opt -- vim option object
|
||
|
|
||
|
local g = vim.g -- global variables
|
||
|
local b = vim.b -- buffer local variables
|
||
|
local w = vim.w -- window local variables
|
||
|
local t = vim.t -- tab local variables
|
||
|
local v = vim.v -- variables
|
||
|
local env = vim.env -- environment variables
|
||
|
|
||
|
|
||
|
vim.g.mapleader = ' '
|
||
|
|
||
|
o.mouse = '' -- mouse off
|
||
|
|
||
|
bo.fileformat = 'unix'
|
||
|
|
||
|
o.hidden = true
|