local cmd = vim.cmd local fn = vim.fn local opt = vim.o local g = vim.g -- key. Defaults to `\`. Some people prefer space. g.mapleader = ' ' -- g.maplocalleader = ' ' opt.compatible = false -- Enable true colour support if fn.has('termguicolors') then opt.termguicolors = true end -- See :h