一个命令行工具,用于快速执行一些常用的命令。
go install github.com/o98k-ok/one-punch@latest
one-punch edit "key: value"
one-punch edit "自定义命令: http://baidu.com"
one-punch search "自定义命令"
one-punch search "zdy"
- 下载 one-punch-flow
- 打开 alfred workflow
- 安装
- 关键词输入
- 支持中文
- 支持拼音
- 支持首字母
- 回车搜索
- 选择结果
Commnd+Enter
编辑
{
"命令面板": "cursor://ionutvmi.vscode-commands-executor/runCommands?data=[{\"id\":\"workbench.action.showCommands\"}]",
"固定标签": "cursor://ionutvmi.vscode-commands-executor/runCommands?data=[{\"id\":\"workbench.action.pinEditor\"}]",
"打开终端": "cursor://ionutvmi.vscode-commands-executor/runCommands?data=[{\"id\":\"workbench.action.terminal.toggleTerminal\"}]",
"换换主题": "cursor://ionutvmi.vscode-commands-executor/runCommands?data=[{\"id\":\"workbench.action.selectTheme\"}]",
"接口调试": "cursor://ionutvmi.vscode-commands-executor/runCommands?data=[{\"id\":\"thunder-client-sidebar.focus\"}]",
"收起文件列表": "cursor://ionutvmi.vscode-commands-executor/runCommands?data=[{\"id\":\"workbench.files.action.collapseExplorerFolders\"}]",
"罗列仓库": "cursor://ionutvmi.vscode-commands-executor/runCommands?data=[{\"id\":\"projectManager.listProjects\"}]",
"跳转到定义": "cursor://ionutvmi.vscode-commands-executor/runCommands?data=[{\"id\":\"editor.action.goToImplementation\"}]",
"重命名": "cursor://ionutvmi.vscode-commands-executor/runCommands?data=[{\"id\":\"editor.action.rename\"}]"
}