Warp icon indicating copy to clipboard operation
Warp copied to clipboard

Ability to open files/folders with a terminal-based editors (e.g. Helix, Vim, Emacs)

Open massung opened this issue 2 years ago • 5 comments

Discord username (optional)

No response

Describe the solution you'd like?

Right now in the settings the only editors usable are separate apps (e.g. VSCode). It would be great to be able to choose editors like Helix, Vim, Emacs, etc. and be able to optionally open the file/folder in a new Warp tab (or split pane).

Is your feature request related to a problem? Please describe.

No response

Additional context

No response

How important is this feature to you?

3

Warp Internal (ignore) - linear-label:770f6576-d6c0-4e4f-a259-fc64b5156087

None

massung avatar Dec 08 '22 16:12 massung

Thanks for this feature request! Please :+1: and subscribe to this request as it helps us gauge interest. We will post any updates here.

Just to clarify you want to have a way to open files/folders in terminal text editors with a mouse ( like with vscodes "Explorer" )?

dannyneira avatar Dec 08 '22 17:12 dannyneira

Right. For example, if I cmd-click a filename it opens VSCode automatically with the file. This is great!

But - personally - I prefer Helix and being able to choose that as my editor of choice so that when I cmd-click a file it launches Helix either: inline (same tab, same pane), in a new tab, or in a new split pane within the same tab, would be fantastic.

One might ask "if you're right there, why not just type hx <filename>?"

A reasonable question, too. At least for myself, a common use-case would be something like:

find . -name '*.csv' | grep ...

So the file in question might be in some arbitrarily deep path. Having the option to cmd-click the output to open the file is already so helpful. This would just be icing. But I recognize it might be a low priority item.

massung avatar Dec 08 '22 18:12 massung

I get what you mean, thanks for clarifying. As a possible stopgap for this, check out lunarvim, it has some of these features built into the Text-based IDE

dannyneira avatar Dec 09 '22 17:12 dannyneira

I am using Helix with Warp, and really enjoy it, usually I have multiple tabs for different projects in Helix opened in separate tabs within Warp terminal. Currently, I can rename tabs and then navigate between them with Cmd+1,2

Another feature I would like to request that would be awesome if tab title would automatically show currently open file or at least directory. Thanks @dannyneira

7flash avatar Feb 14 '24 05:02 7flash

I am using Helix with Warp, and really enjoy it, usually I have multiple tabs for different projects in Helix opened in separate tabs within Warp terminal. Currently, I can rename tabs and then navigate between them with Cmd+1,2

Another feature I would like to request that would be awesome if tab title would automatically show currently open file or at least directory. Thanks @dannyneira

How did you avoid Warp swallowing inputs? For instance option+o (expand select) does not work if I launch Helix from Warp, but it does work in iTerm2.

edit: the problem was option+o, not cmd+o

jonasgheer avatar Feb 22 '24 19:02 jonasgheer