Tab completion for edit-in-kitty #9759
Answered
by
kovidgoyal
PatrikGrguric393
asked this question in
Q&A
|
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 |
Answered by
kovidgoyal
Mar 27, 2026
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.
|
0 replies
|
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? |
0 replies
|
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.
|
2 replies
|
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.
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
4798ccd