Add emacsclient-other-window
This commit is contained in:
parent
e30b1ecaff
commit
85f9c5c4f6
8
emacsclient-other-window
Executable file
8
emacsclient-other-window
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
|
# Note, this ONLY works when called with an existing emacs frame focused
|
||||||
|
|
||||||
|
# print the normal error message with no args
|
||||||
|
(( $# < 1 )) && exec emacsclient
|
||||||
|
|
||||||
|
exec emacsclient --eval "(find-file-other-window \"${1:gs#\\#\\\\#:gs#\"#\\\"#}\")"
|
Loading…
Reference in New Issue
Block a user