需求场景:
1. vim 打开文件 a
2. shell 下切换到另外的路径 b
3. vim 不关闭的情况下, 且保持一个 vim 实例, 开启 b 路径下的文件.
参考 emacs 的实现方法:
1. 编辑文件 a
2. alt+x: shell, 切换路径 b
3. ctrl+x ctrl+f , 直接打开了路径 b 下的文件
可能的实现方法, 但具体实现没有弄明白?
https://www.zhihu.com/question/278228687/answer/413375553
==>. 知乎中某人提供的想法
==>. 上述想法的官方解释:https://vim-jp.org/vimdoc-en/terminal.html
The job can send JSON to Vim, using a special escape sequence. The JSON
encodes a command that Vim understands. Example of such a message: >
<Esc>]51;["drop", "README.md"]<07>
1. vim 打开文件 a
2. shell 下切换到另外的路径 b
3. vim 不关闭的情况下, 且保持一个 vim 实例, 开启 b 路径下的文件.
参考 emacs 的实现方法:
1. 编辑文件 a
2. alt+x: shell, 切换路径 b
3. ctrl+x ctrl+f , 直接打开了路径 b 下的文件
可能的实现方法, 但具体实现没有弄明白?
https://www.zhihu.com/question/278228687/answer/413375553
==>. 知乎中某人提供的想法
==>. 上述想法的官方解释:https://vim-jp.org/vimdoc-en/terminal.html
The job can send JSON to Vim, using a special escape sequence. The JSON
encodes a command that Vim understands. Example of such a message: >
<Esc>]51;["drop", "README.md"]<07>