You've already forked dotfiles
fix: Changing nvim git shortcuts and general cleanup
This commit is contained in:
@@ -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 }
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user