You've already forked dotfiles
feat: A working state during the transfer between the old neovim
configurations and using newer built-in functionality in the 0.12.x versions of Neovim. Further work is needed for treesitter updates, cleanup of the conversion work and testing to verify old functionality isn't lessened to get the benefits of a cleaner config and vastly faster load times.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
vim.api.nvim_create_user_command('FindAndReplace', function(opts)
|
||||
-- Update each quickfix location using substitute, update the files to save changes, close the opened buffers and close the quickfix window
|
||||
-- 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')
|
||||
vim.api.nvim_command(string.format('cfdo s/%s/%s/gc', opts.fargs[1], opts.fargs[2]) .. '| update | cclose')
|
||||
end, { nargs = '*' })
|
||||
|
||||
Reference in New Issue
Block a user