diff options
Diffstat (limited to 'after/ftplugin')
| -rw-r--r-- | after/ftplugin/lua.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/after/ftplugin/lua.lua b/after/ftplugin/lua.lua index 5011d56..46c34b5 100644 --- a/after/ftplugin/lua.lua +++ b/after/ftplugin/lua.lua @@ -1,6 +1,6 @@ vim.keymap.set("n", "<Leader><Leader>x", "<CMD>source %<CR>", { buffer = true, desc = "Reloads the current config file" }) -vim.keymap.set("n", "<Leader>x", "<CMD>.lua<CR>", { buffer = true, desc = "Executes the current line" }) -vim.keymap.set("v", "<Leader>x", "<CMD>lua<CR>", { buffer = true, desc = "Executes the current selection" }) +vim.keymap.set("n", "g==", ":.lua<CR>", { buffer = true, desc = "Executes the current line" }) +vim.keymap.set("v", "g==", ":lua<CR>", { buffer = true, desc = "Executes the current selection" }) -- Open neovim plugins in github. vim.keymap.set("n", "gx", function() |
