Skip to content

Commit 5f57467

Browse files
committed
spf: add page
1 parent 96c0512 commit 5f57467

File tree

3 files changed

+96
-0
lines changed

3 files changed

+96
-0
lines changed

pages.zh/common/spf.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# spf
2+
3+
> superfile – 现代终端文件管理器。
4+
> 更多信息:<https://github.com/yorukot/superfile>.
5+
6+
- 使用指定路径启动 `spf`
7+
8+
`spf {{/path/to/start}}`
9+
10+
- 使用多个路径启动 `spf`
11+
12+
`spf {{/path/to/start1}} {{/path/to/start2}}`
13+
14+
- 修复快捷键设置,补全缺失的按键:
15+
16+
`spf --fix-hotkeys`
17+
18+
- 修复配置文件,补全缺失的项:
19+
20+
`spf --fix-config-file`
21+
22+
- 使用指定的配置文件与快捷键文件:
23+
24+
`spf --config-file {{path/to/config.toml}} --hotkey-file {{path/to/hotkey.toml}}`
25+
26+
- 设置选择器文件:将打开的路径写入该文件并退出:
27+
28+
`spf --chooser-file {{/tmp/chooser-result}}`
29+
30+
- 显示内部配置和数据目录路径:
31+
32+
`spf path-list`

pages.zh_TW/common/spf.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# spf
2+
3+
> superfile – 現代的終端機檔案管理器。
4+
> 更多資訊:<https://github.com/yorukot/superfile>.
5+
6+
- 使用指定路徑啟動 `spf`
7+
8+
`spf {{/path/to/start}}`
9+
10+
- 使用多個路徑啟動 `spf`
11+
12+
`spf {{/path/to/start1}} {{/path/to/start2}}`
13+
14+
- 修復快捷鍵設定,補上缺少的按鍵:
15+
16+
`spf --fix-hotkeys`
17+
18+
- 修復設定檔,補上缺少的項目:
19+
20+
`spf --fix-config-file`
21+
22+
- 使用指定的設定檔與快捷鍵檔案:
23+
24+
`spf --config-file {{path/to/config.toml}} --hotkey-file {{path/to/hotkey.toml}}`
25+
26+
- 設定選擇器檔案:將開啟的路徑寫入該檔案並退出:
27+
28+
`spf --chooser-file {{/tmp/chooser-result}}`
29+
30+
- 顯示內部設定與資料目錄路徑:
31+
32+
`spf path-list`

pages/common/spf.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# spf
2+
3+
> superfile – modern terminal file manager.
4+
> More information: <https://github.com/yorukot/superfile>.
5+
6+
- Launch `spf` with a specific path:
7+
8+
`spf {{/path/to/start}}`
9+
10+
- Launch `spf` with multiple paths:
11+
12+
`spf {{/path/to/start1}} {{/path/to/start2}}`
13+
14+
- Fix hotkey settings by appending missing keys:
15+
16+
`spf --fix-hotkeys`
17+
18+
- Fix the configuration file by appending missing entries:
19+
20+
`spf --fix-config-file`
21+
22+
- Use specific config and hotkey files:
23+
24+
`spf --config-file {{path/to/config.toml}} --hotkey-file {{path/to/hotkey.toml}}`
25+
26+
- Set a chooser file: write the opened path to this file and exit:
27+
28+
`spf --chooser-file {{/tmp/chooser-result}}`
29+
30+
- Show internal config and data directory paths:
31+
32+
`spf path-list`

0 commit comments

Comments
 (0)