diff --git a/config/nvim/lua/core/mappings.lua b/config/nvim/lua/core/mappings.lua index 86ca70b4..f0ef81e6 100644 --- a/config/nvim/lua/core/mappings.lua +++ b/config/nvim/lua/core/mappings.lua @@ -245,13 +245,13 @@ M.ripgrep_mappings = function() -- Grep project for selection with Rg vmap { 'gr', 'y :Rg "' } -- Grep project for word under the cursor with Rg - nmap { 'gr :Rg', '' } + nmap { 'gr', ':Rg ' } -- alias for above -- Grep project for selection with Rg vmap { 'rg', 'y :Rg "' } -- Grep project for word under the cursor with Rg - nmap { 'rg :Rg', '' } + nmap { 'rg', ':Rg ' } -- Grep selection with Rg (excluding tests and migrations) vmap { 'gt', "y :Rg \" -g '!*/**/test/*' -g '!*/**/migrations/*'" }