1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-03-28 18:34:46 +01:00
Files
dotfiles/.config/nvim/lua/plugins/vim-abolish.lua

19 lines
335 B
Lua

return {
-- better substitutions
"tpope/vim-abolish",
keys = {
{
"<leader>sa",
":%s//g<Left><Left>",
mode = "n",
desc = "Substitute: free form",
},
{
"<leader>ss",
":%s/\\<<C-r><C-w>\\>//g<Left><Left>",
mode = "n",
desc = "Substitute: word under cursor",
},
},
}