|
kiwierNov 13, 2021
1
安装超级右键 lite 版
|
|
2
|
|
3
|
|
4
我写过一个用快捷键在终端的 emacs 里打开的,楼主可以自己修改一下。双击打开的我也没找到什么好办法
https://gist.github.com/imkiva/a460a57b03db591b1cda9d1fb259f1ed |
|
5
可以用我写的 Finder 插件:
https://apps.apple.com/us/app/swiftymenu/id1567748223 |
|
6
https://www.mattcrampton.com/blog/doubleclick_to_open_in_vim_on_osx/
用 automator 封装 applescript 成一个操作,然后双击文件的时候执行这个操作,我改了改命令那行 on run {input, parameters} set filename to POSIX path of input set cmd to "clear && cd `dirname " & filename & "` && vim '" & filename & "'" tell application "iTerm" set newWindow to (create window with default profile) tell current session of newWindow write text cmd end tell end tell end run |
|
ooopsNov 17, 2021 via iPhone
7
用命令行的 file manager 啊 nnn ranger 或者 vim 的,直接打开
|