Regex find and replace
Replace with multiple cursors
Search and replacing in vim is usually done using regular expressions with s/pattern/replacement
. Helix is a bit different in that it leverages multiple cursors for search replace.
In evil or vim if you wanted to put a comma at the end of line you could use
:% s/$/,/
In Helix you use multiple cursors and simply edit the document:
- Select the whole document with
%
- Press
s
to search - Search for end of lines
$
i
to enter insert mode- , to add the comma