2021-08-09 07:44:56 +00:00
|
|
|
-- see `:help` for any questions
|
|
|
|
-- use `&<var>` to show value of vimscript variable
|
|
|
|
|
|
|
|
|
|
|
|
-- API --
|
2021-08-11 19:19:02 +00:00
|
|
|
-- o = vim.o -- options
|
|
|
|
-- go = vim.go -- only-global options
|
|
|
|
-- bo = vim.bo -- buffer local options
|
|
|
|
-- wo = vim.wo -- window local options
|
|
|
|
|
|
|
|
-- cmd = vim.cmd -- vim commands
|
|
|
|
-- fn = vim.fn -- vim functions
|
|
|
|
-- opt = vim.opt -- vim option object
|
|
|
|
|
|
|
|
-- g = vim.g -- global variables
|
|
|
|
-- b = vim.b -- buffer local variables
|
|
|
|
-- w = vim.w -- window local variables
|
|
|
|
-- t = vim.t -- tab local variables
|
|
|
|
-- v = vim.v -- variables
|
|
|
|
-- env = vim.env -- environment variables
|
2021-08-09 07:44:56 +00:00
|
|
|
|
|
|
|
|
2021-08-11 19:20:33 +00:00
|
|
|
g.mapleader = ' '
|
2021-08-09 07:44:56 +00:00
|
|
|
|
|
|
|
o.mouse = '' -- mouse off
|
|
|
|
|
|
|
|
bo.fileformat = 'unix'
|
|
|
|
|
|
|
|
o.hidden = true
|