You've already forked dotfiles
Adding a keymapping for a global find and replaced based off of file grep via telescope, which feeds into the quickfix list and uses cdo to apply substitute commands to each file and specific word instance chosen.
This commit is contained in:
@@ -34,7 +34,7 @@ vim.keymap.set('n', 'J', 'mzJ`z')
|
||||
-- Switch or close buffers in the window
|
||||
vim.keymap.set('n', '<leader>n', ':bn<CR>', options)
|
||||
vim.keymap.set('n', '<leader>p', ':bp<CR>', options)
|
||||
vim.keymap.set('n', '<leader>d', ':bp|bd #<CR>', options)
|
||||
vim.keymap.set('n', '<leader>x', ':bp|bd #<CR>', options)
|
||||
|
||||
-- Toggle spellcheck
|
||||
vim.keymap.set('n', '<leader>s', ':set spell!<CR>', options)
|
||||
@@ -56,6 +56,6 @@ vim.keymap.set('n', '<leader>em', function() cf.execute('benchmark') end)
|
||||
|
||||
vim.keymap.set('n', '<leader>eo', ':Lexplore<CR>', options)
|
||||
|
||||
vim.keymap.set('n', '<leader>rn', ':%s/<C-r><C-w>//g<Left><Left>', options)
|
||||
-- vim.keymap.set('n', '<leader>rn', ':%s/<C-r><C-w>//g<Left><Left>', options)
|
||||
|
||||
vim.keymap.set('n', '<leader>l', ':Lazy<CR>', options)
|
||||
|
||||
Reference in New Issue
Block a user