Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change tab name in Sublime Text?

Is it possible to change tab names for files with strange names? They can not be renamed on disk but it is difficult to keep up with mad file names in Sublime :D

like image 971
zored Avatar asked Apr 25 '14 09:04

zored


People also ask

How do I change the width of a tab in Sublime Text?

To configure the tab width in Sublime Text 3, click on “View” in the top bar, then click on “Indentation” in the drop-down list. Next, in the second level of the drop-down list select the width you want a tab to take up. Sublime Text 3 defaults to tabs being four spaces wide.

How do I open the next tab in Sublime Text?

please try command + shift + ] .This will bring you immediately to the next tab. Command + Ctrl + P : Switch between the projects that are listed on the sublimeText Sidebar. Thanks for contributing an answer to Stack Overflow!

How do I split the editor pane in Sublime Text?

When multiple tabs are selected, Sublime Text will automatically split the editor pane to display the tabs horizontally. Note: in the following key bindings, Primaryrefers to the Ctrlkey on Windows and Linux, and the Cmdkey on Mac.

How to switch apps in Sublime Text 3?

In sublime text 3, there is shortcut to switch tab in similar to ctrl+tab in browser. While this ctrl+tab has behavior similar to windows alt+tab to switch apps.


1 Answers

In the ST console, enter view.set_name("My changed name"), replacing the content of the string with the name you want. You can also create a plugin to do this, again using the view#set_name api method.

like image 60
skuroda Avatar answered Sep 24 '22 19:09

skuroda