Edit remote files via vscode #10080
Replies: 2 comments 1 reply
|
Set editor in kitty.conf
…On Wed, May 27, 2026 at 07:24:25AM -0700, Mateus Silva wrote:
Hi.
My company don't let me use vscode ssh capabilities (Remote - ssh extension)
I was trying to use kitty (kitten ssh + edit-in-kitty) to open a file locally using vscode.
But it kept opening vim, I changed EDITOR env, and tried to use the hyperlink feature.
Had no success opening in vscode.
Is this possible?
I'm on linux (KDE Neon (ubuntu))
--
Reply to this email directly or view it on GitHub:
#10080
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
--
_____________________________________
Dr. Kovid Goyal
https://www.kovidgoyal.net
https://calibre-ebook.com
_____________________________________
|
1 reply
|
On Wed, May 27, 2026 at 08:09:02PM -0700, Mateus Silva wrote:
Is it possible to do with one shot commands?
I tried.
`EDITOR="code --wait" kitten edit-in-kitty file-to-edit`
Most of the time I use vim, but for some files I prefer vscode.
It's not practical to edit kitty.conf, restart, connect, edit, go to kitty and put vim back in the config.
If it's not possible it's ok, thanks for the reply.
No, it's not possible allowing the remote end to change the editor
program is basically giving it remote code execution.
And the EDITOR env var that affects this applies to the *kitty* process
not the *kitten* process.
|
0 replies
Answer selected by
alfaex
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi.
My company don't let me use vscode ssh capabilities (Remote - ssh extension)
I was trying to use kitty (kitten ssh + edit-in-kitty) to open a file locally using vscode.
But it kept opening vim, I changed EDITOR env, and tried to use the hyperlink feature.
Had no success opening in vscode.
Is this possible?
I'm on linux (KDE Neon (ubuntu))
All reactions