diff options
| author | jixiuf <jixiuf@qq.com> | 2019-10-15 23:02:52 +0800 |
|---|---|---|
| committer | jixiuf <jixiuf@qq.com> | 2019-10-20 21:32:35 +0800 |
| commit | f133e554ff80191fd8e2eed3c8d68669e8c44764 (patch) | |
| tree | eadc83329127576fc5f60ca9bb334b10aac1a867 /README.md | |
| parent | 17c29e9532f47b4cbd78bb1046463ed37b7ff195 (diff) | |
Support sending Elisp Command to Emacs Buffer
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -167,6 +167,15 @@ function chpwd() { } ``` +## Send Elisp Command +```sh +if [[ "$INSIDE_EMACS" = 'vterm' ]]; then + function vi(){ + echo -n "\e]51;E(find-file \"$@\")\e\\" + } +fi + +``` ## Related packages - [vterm-toggle](https://github.com/jixiuf/vterm-toggle): Toggles between a vterm and the current buffer |
