kak

Kakoune is a mode-based code editor implementing the "multiple selections" paradigm. Data can be selected and simultaneously edited in different locations, using multiple selections; users can also connect to the same session for collaborative editing. More information: https://kakoune.org.

kak path/to/file

i

<Esc>

%sfoo<Enter>cbar<Esc>

<Space>

/\d+<Enter>N

!cat path/to/file<Enter>

:w<Enter>