diff options
author | Vincent Ambo <vincent@spotify.com> | 2013-07-10T09·39+0200 |
---|---|---|
committer | Vincent Ambo <vincent@spotify.com> | 2013-07-10T09·39+0200 |
commit | f2d23b818290e2719cc2898fbd9d25a5b743c5ec (patch) | |
tree | 43ca81f52cb0a04d418cccc0f7b149a03341ef9c | |
parent | c5f6606f63bf1a916d81d11f000003ff1ca668c6 (diff) |
fish: Set EDITOR variable and edit function to use -n and -create-frame option in emacsclient
-rw-r--r-- | fish/config.fish | 2 | ||||
-rw-r--r-- | fish/functions/edit.fish | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fish/config.fish b/fish/config.fish index b47d60adb4c4..40a4e809da92 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -14,7 +14,7 @@ function fish_right_prompt echo -n ']' end -set -gx EDITOR emacsclient +set -gx EDITOR "emacsclient -n -create-frame" set -gx ALTERNATE_EDITOR emacs set -gx VISUAL emacsclient diff --git a/fish/functions/edit.fish b/fish/functions/edit.fish index 83f6eb854f7d..61bf37345686 100644 --- a/fish/functions/edit.fish +++ b/fish/functions/edit.fish @@ -1,3 +1,3 @@ function edit - emacsclient -no-wait $argv + emacsclient -no-wait -create-frame $argv end \ No newline at end of file |