warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.86k stars 355 forks source link

context-aware settings #3897

Open jvantuyl opened 9 months ago

jvantuyl commented 9 months ago

Discord username (optional)

No response

Describe the solution you'd like?

A number of tools detect configuration based on context. That is, they look for configuration files relative to the current working directory and use that to change settings. Examples include asdf, buf, docker, git, and tfenv.

I'd like to be able to provide a .warp/config.yaml file in a given directory and specify settings that change only within the directory.

Initially, I'd mostly like for themes to be supported. Prompts, custom shortcut keys, and/or tab colors would also be great. Workflows would be cool, too (though I imagine that might cut into your Warp Drive feature set).

I'd also like for this to be detected remotely when using remote-shell integration.

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

I work on quite a few hosts for various reasons. Knowing where I am at any given point is key. There's nothing quite like running DROP TABLE USERS; in prod when you meant to do it in dev.

In the past, I'd set colored prompts, which worked okay. This wasn't perfect, as a prompt isn't always visible on screen. Later, I discovered colored tabs in iTerm2 with escape codes in the prompt. This worked, although it still wasn't perfect when hitting hosts configured without my prompts.

Since Warp is the first terminal that seems to take context really seriously. Armed with that information, the ability to wield it for dynamic configuration would be key.

Additional context

I'm aware themes might be a big ask. I'm not even sure what it would mean to have different themes in different tabs. But it would be a unique and killer feature nonetheless.

How important is this feature to you?

4

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

None

dannyneira commented 9 months ago

Thanks for this feature request @jvantuyl. To anyone else interested in context-aware appearance settings, please add a :+1: to the original post at the top to signal that you want this feature, and subscribe if you'd like to be notified.

Also, we have a related request for different themes per tab/window you can track here #478