From 7ec1e3ca3bb9e4033c094ad5520d9ef7b221abf6 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Fri, 3 Jan 2025 22:17:56 +0100 Subject: nvim: map localleader and leader properly --- nvim/nvim/lua/mappings.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nvim/nvim/lua/mappings.lua b/nvim/nvim/lua/mappings.lua index 83077f6..d15aa98 100644 --- a/nvim/nvim/lua/mappings.lua +++ b/nvim/nvim/lua/mappings.lua @@ -6,7 +6,8 @@ function trimWhiteSpaceVisual() vim.cmd("'<,'>s/\\s\\+$//") end -vim.g.localleader="," +vim.g.mapleader="," +vim.g.maplocalleader="," vim.keymap.set('n', '', trimWhiteSpace) vim.keymap.set('v', '', trimWhiteSpaceVisual) -- cgit v1.2.3