plugin #
已经 lock 了讨论。 https://github.com/helix-editor/helix/discussions/3806
已经有的用 scheme 的 prototype: https://github.com/mattwparas/helix, config, steel
modal editor #
有多种模式的。和 modaless 的相对,比如 notepad。
registers #
-
" 来选择register
-
默认的 registers
| name | content |
|---|---|
| / | 上一次搜索 |
: | 上一次命令执行 " | 上一次复制 @ | 上一次录的宏
-
special register, " 可以触发查看
-
用户自定义 register:
"<register><命令>,例子:"ay复制到 a中"opp 中的粘贴到指定位置"hcc 是 change,会先将选定的放到 h 中,然后继续修改"mdd 是 delete,会先将选定的内容放到 m 中,然后删除
update / delete 操作的需要先选定内容,如果操作前选定了 register,选定的内容会先放进去
space mode #
normal mode 下 space 进入。右下会列出所有的 key binding, 即 picker。
所有的 popup,ctrl+u/d 上下 scroll, ctrl+c 关闭
select/extend mode #
normal mode 下由 v 进入。任何的操作都是 extend 当前的选择。
command mode #
normal mode 下 : 可以直接输入命令。
insert mode #
normal mode 下 i 进入,实际的编辑模式。
insert mode 也有快捷键。
goto mode #
normal mode 下 g 进入
match mode #
normal mode 下 m 进入。
view mode #
normal mode 下 z 进入,Z 进入 sticky view mode
window mode #
space mode + w 或者 ctrl+w 进入