fix: Changing nvim git shortcuts and general cleanup

This commit is contained in:
2025-04-21 06:12:19 -05:00
parent e72b5fff60
commit 34de0cfe23
8 changed files with 29 additions and 41 deletions

View File

@@ -3,10 +3,3 @@ vim.api.nvim_create_user_command('FindAndReplace', function(opts)
-- TODO: Does not close the buffers opened through changes
vim.api.nvim_command(string.format('cdo s/%s/%s/g', opts.fargs[1], opts.fargs[2]) .. '| update | cclose')
end, { nargs = '*' })
vim.api.nvim_set_keymap(
'n',
'<leader>ir',
':FindAndReplace ',
{ noremap = true }
)