From 5fad30d9af80b6ddadd688e0b1015c83d614eec3 Mon Sep 17 00:00:00 2001 From: mightypanders Date: Wed, 24 Aug 2022 12:08:45 +0200 Subject: [PATCH] keymap fixes (leader) --- nvim/init.lua | 3 ++- nvim/lua/keymap.lua | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nvim/init.lua b/nvim/init.lua index 6e91cef..4f800c5 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -1,3 +1,5 @@ +vim.g.mapleader = " " +require('keymap') require('plugins') require('globals_opts') require('native_commands') @@ -10,5 +12,4 @@ require('new_lsp_conf') require('cmp_config') require('toggleterm_config') require('virtual_lines_config') -require('keymap') require("null-ls_config") diff --git a/nvim/lua/keymap.lua b/nvim/lua/keymap.lua index a05d68c..935c71f 100644 --- a/nvim/lua/keymap.lua +++ b/nvim/lua/keymap.lua @@ -17,7 +17,6 @@ end nmap("","") -vim.g.mapleader = " " xmap("p",'\"_dP') nmap("fg", "lua require('telescope.builtin').live_grep()")