Tab completion for edit-in-kitty #9759
-
|
Hi, I'm testing out all the different kittens and while trying out the edit-in-kitty kitten over SSH I've noticed it doesn't have tab completion for filenames or at the very least in only supports specific extensions. Is this by design or have I misconfigured something? If I'm right about extensions, is there a way to enable editing of any file? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
It completes on all known text file types. You can tactually edit any
file since no editor is capable of that.
|
Beta Was this translation helpful? Give feedback.
-
|
I was thinking more like "allow me to open any file" and it'll be up to me to figure out which is a text file and which isn't. I've noticed for instance it doesn't complete .sh filenames (shell scripts, even though it can open them), which is a bummer. Did I understand correctly then that there isn't an option to change this behavior? |
Beta Was this translation helpful? Give feedback.
-
|
On Fri, Mar 27, 2026 at 02:16:28AM -0700, Patrik Grgurić wrote:
I was thinking more like "allow me to open any file" and it'll be up to me to figure out which is a text file and which isn't. I've noticed for instance it doesn't let me edit .sh files (shell scripts), which is a bummer.
Did I understand correctly then that there isn't an option to change this behavior?
yes there are no such options. and feel free to send a PR adding sh to
the list of known text files.
|
Beta Was this translation helpful? Give feedback.
-
|
On Wed, May 27, 2026 at 02:27:49AM -0700, Patrik Grgurić wrote:
Hm, this hasn't worked for me. Probably an issue on my end.
One question about shell integration on SSH sessions, I see it's possible to provide [your own shell integration scripts](https://sw.kovidgoyal.net/kitty/shell-integration/#manual-shell-integration). Do these carry onto SSH sessions and subshells started with `kitten run-shell`?
If your sub shell or the ssh session shell sources the shell integration
then it will carry on, if no it wont.
|
Beta Was this translation helpful? Give feedback.
4798ccd