fish: Set EDITOR variable and edit function to use -n and -create-frame option in emacsclient
This commit is contained in:
parent
c5f6606f63
commit
f2d23b8182
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ function fish_right_prompt
|
||||||
echo -n ']'
|
echo -n ']'
|
||||||
end
|
end
|
||||||
|
|
||||||
set -gx EDITOR emacsclient
|
set -gx EDITOR "emacsclient -n -create-frame"
|
||||||
set -gx ALTERNATE_EDITOR emacs
|
set -gx ALTERNATE_EDITOR emacs
|
||||||
set -gx VISUAL emacsclient
|
set -gx VISUAL emacsclient
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
function edit
|
function edit
|
||||||
emacsclient -no-wait $argv
|
emacsclient -no-wait -create-frame $argv
|
||||||
end
|
end
|
Loading…
Reference in a new issue