Helix Shortcuts

Writing these down because I always forget…

Replace all occurances of something

  1. create a selection. For example, using x for lines, v for a flexible selection, or % for the whole file
  2. search in the selection with s followed by whatever you want to search for, then enter
  3. (this will create a whole bunch of cursors) use c to change the text and enter insert-mode to replace