DCsunset / vscode-modal-editor

Customizable extension to turn VS Code into a modal editor
GNU Affero General Public License v3.0
36 stars 4 forks source link

Make newlines searchable for `findText` #17

Closed SimonRask closed 3 months ago

SimonRask commented 3 months ago

In Helix, I commonly use t ENTER to select the rest of the line. With this change that is now also possible here.

DCsunset commented 3 months ago

I don't think it's a good idea to add a new line character as it will break the regex search. You can achieve the same bahviour by changing your config file without modifying the source code. For example, you can use regex search if the key is Enter.