Skip to content

Commit 1320d9c

Browse files
committed
doc(tpl): add notes for shotcut keys
1 parent 0c955d1 commit 1320d9c

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,3 +272,13 @@ server [options]
272272
server will try to use first virtual host that has no hostname,
273273
otherwise use the first virtual host.
274274
```
275+
276+
## Shortcut key for default page template
277+
- ``, ``: move focus between path items
278+
- `Ctrl`/`Cmd` + ``: move focus to first path item
279+
- `Ctrl`/`Cmd` + ``: move focus to last path item
280+
- ``, ``: move focus between file items
281+
- `Ctrl`/`Cmd` + ``: move focus to first file item
282+
- `Ctrl`/`Cmd` + ``: move focus to last file item
283+
- Repeat inputting same character will look for next file that prefixes with it.
284+
- Non-repeat inputs will be remembered as a string in short time to look for next file prefix match.

README.zh-CN.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,3 +270,13 @@ server [选项]
270270
服务器尝试使用第一个没有指定主机名的虚拟主机,
271271
如果失败则使用第一个虚拟主机。
272272
```
273+
274+
## 默认页面模板的快捷键
275+
- ``, ``:使焦点在路径项之间移动
276+
- `Ctrl`/`Cmd` + ``:把焦点移动到第一个路径项
277+
- `Ctrl`/`Cmd` + ``:把焦点移动到最后一个路径项
278+
- ``, ``:使焦点在文件项之间移动
279+
- `Ctrl`/`Cmd` + ``:把焦点移动到第一个文件项
280+
- `Ctrl`/`Cmd` + ``:把焦点移动到最后一个文件项
281+
- 重复输入相同字符将查找下一个前缀匹配该字符的文件。
282+
- 输入不重复的字符,将在短时间内被记忆为字符串,用于查找下一个前缀匹配的文件。

0 commit comments

Comments
 (0)