aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 07fe24a..406ddd3 100644
--- a/README.md
+++ b/README.md
@@ -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