diff options
-rw-r--r-- | nvim/nvim/lua/mappings.lua | 3 |
1 files changed, 2 insertions, 1 deletions
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', '<F2>', trimWhiteSpace) vim.keymap.set('v', '<F2>', trimWhiteSpaceVisual) |