neovim: set a <leader> key
Alan Pearce alan@alanpearce.eu
Sun, 23 Apr 2023 19:28:28 +0200
1 files changed, 2 insertions(+), 0 deletions(-)
jump to
M user/nvim/init.lua → user/nvim/init.lua
@@ -6,6 +6,8 @@ vim.opt.tabstop = 2 vim.opt.expandtab = false vim.opt.number = true +vim.g.mapleader = "," + local keyset = vim.keymap.set -- Autocomplete function _G.check_back_space()