Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normal mode for picker batch operations #1018

Closed
QiBaobin opened this issue Nov 8, 2021 · 3 comments
Closed

Normal mode for picker batch operations #1018

QiBaobin opened this issue Nov 8, 2021 · 3 comments
Labels
A-keymap Area: Keymap and keybindings C-enhancement Category: Improvements

Comments

@QiBaobin
Copy link
Contributor

QiBaobin commented Nov 8, 2021

Describe your feature request

It would be make it very powerful if we can go to a normal mode by clicking Esc in Space mode, which would let us operate all files of current picker showing. The preview panel can show only selected file's motion.

This would definitely a good replacement of vim's bufdo, cfdo etc.

@QiBaobin QiBaobin added the C-enhancement Category: Improvements label Nov 8, 2021
@kirawi kirawi added the A-keymap Area: Keymap and keybindings label Nov 8, 2021
@pickfire
Copy link
Contributor

This reminds me of doom emacs search and replace across the whole project, copy the global search picker into a buffer and let you edit directly, and when you save it will modify the content. It also have the same concept where you can just modify the file name as well.

@axyz
Copy link

axyz commented Feb 22, 2022

partially related: is there any other suggested way currently available to do project wide search/replace? I'm thinking also at how to replace the typical workflow of sending stuff to quickfix (e.g. via :grep configured to use ripgrep) and then do some :cdo / :cfdo commands

@sudormrfbin
Copy link
Member

@axyz LSP has a rename symbol function (bound to space + r) which could be used in lieu of search and replace for most cases but other than that there is no dedicated search and replace interface. space + / does project wide search, and space + ' can be used to bring back the same search results again after dismissing the global search picker (also we don't have the quickfix lists yet).

@helix-editor helix-editor locked and limited conversation to collaborators Apr 25, 2024
@pascalkuthe pascalkuthe converted this issue into discussion #10600 Apr 25, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
A-keymap Area: Keymap and keybindings C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

5 participants