kak
Kakoune, 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://manned.org/kak.
- Open a file and enter normal mode, to execute commands:
kak
- Enter insert mode from normal mode, to write text into the file:
<i>
- Escape insert mode, to go back to normal mode:
<Esc>
- Replace all instances of
string1in the current file withstring2:
%s<Enter>c<Esc>
- Unselect all secondary selections, and keep only the main one:
<Space>
- Search for numbers and select the first two:
/\d+<Enter>N
- Insert the contents of a file:
<!>cat <Enter>
- Save the current file:
<:>w<Enter>
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
