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()")