-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting EDITOR
does nothing: Can't define any other editor
#246
Comments
I can see in the code where it's broken! I will try to fix it in the next couple of days |
- $env:EDITOR and $ENV:VISUAL are now respected properly if the editor is unknown - Resolves #246
- $env:EDITOR and $ENV:VISUAL are now respected properly if the editor is unknown - Resolves #246
Thanks for the fix @kelleyma49. The variable can now be set. However I have an issue: Unset:
After setting env variables: $Env:EDITOR = 'codium --goto ":0"'
$Env:PSFZF_EDITOR_OPTIONS = 'test' ( You can see that the file path comes last, unlike when
I'm not sure how to set
Is there some file path variable for PSFzf that I can use between Thanks. |
@redactedscribe , I've added support for detecting codium so you don't have to set editor options. See #248 |
Thanks @kelleyma49! I'll report back if it works for me. |
Setting
EDITOR
to$Env:EDITOR = 'codium --goto ":0"'
and runningInvoke-FuzzyEdit
outputsExecuting ''...
.No matter what
EDITOR
is set to, the output is always blank as shown above.Not setting
EDITOR
the output isExecuting 'code --goto "C:\{snip}.txt:0"'...
but this is no use to me as I do no use VS Code but VSCodium.Thanks.
PSFzf 2.5.19
fzf 0.46.0
PowerShell v7.4.1
The text was updated successfully, but these errors were encountered: