ray-x / sad.nvim

Space Age seD in Neovim. A project-wide find and replace plugin for Neovim.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to apply ALL items

ranelpadon opened this issue · comments

The README has this:

to confirm and apply all the replacements

But <CR>/ENTER seems to have no effect. It will only confirm the first item which is the default item:

Screen Shot 2021-12-18 at 8 10 13 AM

The sad CLI has --commit option which auto-confirms all. And I could use this FZF option to bind the Ctrl-A to select all:

export FZF_DEFAULT_OPTS="-m --bind ctrl-a:select-all,ctrl-d:deselect-all,ctrl-t:toggle-all"

Ctrl-A works in sad CLI (as indicated by > in all lines):

Screen Shot 2021-12-18 at 8 30 43 AM

Also, Ctrl-A works in FZF.vim (with Rg):

Screen Shot 2021-12-18 at 8 25 36 AM

But Ctrl-A doesn't work in sad.nvim. Am I missing something?

BTW, thanks for this interesting plugin. :)

commented

Thanks for the suggestion. I added keybinding

This is confirmed working. Thanks also for your prompt feedback. :)