warp icon indicating copy to clipboard operation
warp copied to clipboard

Support tab renaming / rename (name) tab

Open zachlloyd opened this issue 5 years ago • 18 comments

Issue title pretty much says it all - we would allow users to give tabs a custom name.

zachlloyd avatar Jul 31 '21 22:07 zachlloyd

I imagine you have some smoother UX in mind, but I've been using this alias forever to set iTerm's tab titles:

function title {
    echo -ne "\033]0;"$*"\007"
}

In Warp, it'll briefly flash to the manually-set title then go back to bash. Would be cool if the alias stuck, but also I'd happily take a command palette shortcut or similar. 😉

ccpost avatar Aug 01 '21 10:08 ccpost

From #456 @osi

The tab title format is username@host:path

For windows on my local machine, username@host is redundant; It is consuming space that would be (better) used by showing more of the path (as that's the larger difference for tabs on my machine.

Alternately, if the tabs were wider when there are few tabs, that would allow more of the path to be seen.

elviskahoro avatar Dec 07 '21 05:12 elviskahoro

@ccpost @mtmeyer @RealHarshThakur @Olson3R @mittalyashu @ntotten @willosbourne @mikeyk @clinejj @caseymatt

We're working on tab renaming now! If Warp had a dialog with common tab names, what options would you like to see included?

elviskahoro avatar Dec 13 '21 20:12 elviskahoro

I think suggestions (maybe based on process running) would be nice

RealHarshThakur avatar Dec 13 '21 20:12 RealHarshThakur

@elviskahoro I reckon I'd like to see the typical processes i find myself running, such as 'test' 'server' 'client'. I spose anything you'd typically run a 'longer term' process for, for example jest --watchAll or a local server

mtmeyer avatar Dec 18 '21 02:12 mtmeyer

Biggest request: remove user@host: prefix.

Even better, replace path with just folder. (That is, if I'm in ~/dev/forks/rushstack, I want the title bar to just show "rushstack".) This way the tab titles are still useful even when I have 10 of them open.

elliot-nelson avatar Jan 15 '22 11:01 elliot-nelson

I've had a function in my .zshrc for renaming the current tab in Kitty for a while now.

tabtitle()
{
	kitty @ set-tab-title "$@"
}

This allows me to set an arbitrary name, like tabtitle current project name. I use this on the regular to keep up with what task I'm doing in a tab, or the project I have open in Vim.

adampresley avatar Mar 01 '22 20:03 adampresley

Agreed! I think I can almost replace tmux with your tabbing system, but I'd really like to be able to name tabs to different services.

mutchco avatar Mar 12 '22 14:03 mutchco

This is the function I miss from iterm2

minhluuquang avatar Apr 06 '22 05:04 minhluuquang

I second the suggestion to just remove the user@host: part --- this fills up the entire tab width in my case, and so all my tabs look identical to each other. It is very rare for most people's workflow to have tabs that involve different users or different hosts, so it would be better to just show the path. I think this could be a higher priority than a more sophisticated approach to customizing or renaming tabs.

jonsterling avatar Apr 10 '22 08:04 jonsterling

I was about to open a suggestion to allow tab renaming, but alas, I have been beaten to it. I wholeheartedly second (third fourth) allow renaming and at the very least drop the user@host: part.

zachabernathy avatar Apr 15 '22 14:04 zachabernathy

I second the suggestion to just remove the user@host: part --- this fills up the entire tab width in my case, and so all my tabs look identical to each other. It is very rare for most people's workflow to have tabs that involve different users or different hosts, so it would be better to just show the path. I think this could be a higher priority than a more sophisticated approach to customizing or renaming tabs.

Yea this please

noamr avatar Apr 17 '22 06:04 noamr

+1 on this issue, it's very frustrating. Would love to see just the path of where the tab is located so ~/src for example.

nikivdev avatar Apr 23 '22 17:04 nikivdev

Need this desperately. Living in the microservices world, I often have 15-20 tabs open at once split into 4 panes a piece. Very annoying to have to click on 5 tabs just to get to the correct one. So far it's the biggest thing I'm missing from ITerm.

That all being said -- I'm hooked. This is a fantastic terminal that has solved many many other issues for me. Biggest thing for me was it just is way more memory efficient. In ITerm it wasn't uncommon to see ITerm listed right under chrome and VSCode in Activity Monitor. Warp doesn't even show on the list until I scroll way down.

kojuka avatar Apr 29 '22 17:04 kojuka

Is there any estimated timeline for adding this feature to warp?

XiaofengXie16 avatar May 02 '22 01:05 XiaofengXie16

+1 to this plus adding other customisation options at the table level like setting colours or theme. iTerm 2 allows this as well and it helps add a clear difference betwen tab eg: Screen Shot 2022-05-11 at 1 31 16 PM s

ramykl avatar May 11 '22 11:05 ramykl

This feature launched. We can open up new issues for extra customizations like color.

elviskahoro avatar Jul 04 '22 16:07 elviskahoro

I imagine you have some smoother UX in mind, but I've been using this alias forever to set iTerm's tab titles:

function title {
    echo -ne "\033]0;"$*"\007"
}

In Warp, it'll briefly flash to the manually-set title then go back to bash. Would be cool if the alias stuck, but also I'd happily take a command palette shortcut or similar. 😉

Please see more on this here, in particular the Terminal Tip: https://docs.warp.dev/features/tabs#how-to-use-it

dannyneira avatar Oct 04 '22 23:10 dannyneira