TabsExtra icon indicating copy to clipboard operation
TabsExtra copied to clipboard

Give some shortcut or documente the way to make it

Open 4sStylZ opened this issue 8 years ago • 6 comments

Hi,

Thank’s for the plugin. I want to set a shortcut for close all the unsaved tabs but I don’t figure how do that.

Is this is possible?

(Sorry, for my bad English)

Regards

4sStylZ avatar Aug 12 '16 08:08 4sStylZ

There isn't a command that closes only unsaved tabs. Maybe I am misunderstanding?

facelessuser avatar Aug 23 '16 22:08 facelessuser

Hi,

Sorry : I have a bad English. :)

I see many options in the command palette like : 

  • Close tabs (dimiss unsaved).
  • Close tabs (skip unsaved).

I want to know how I can set a shortcut for these options.

4sStylZ avatar Aug 26 '16 12:08 4sStylZ

I would like to be able to close all open files, saved or unsaved, and not get prompted by any kind of pop up. I haven't figured out a way to do that with this package. Is it possible?

rpbaptist avatar Feb 04 '20 11:02 rpbaptist

@rpbaptist You can use the dismiss option which will dismiss the dialogs. There will be one, and only one, dialog to dismiss them all. If you would like an option to disable even that single dialog, which I think is a good safe guard, please create an new issue as this would be a separate, unrelated request to this issue.

facelessuser avatar Feb 04 '20 16:02 facelessuser

I wish you would implement package key bindings (shortcuts). I’d like to stick/unstick current tab using keyboard shortcut.

Update:

I have just installed TabExtra (via Package Control) and tried to stick a tab via context menu. I have no idea what should be done, but from my point of view it doesn’t work:

  • the tab is not moved leftmost;
  • the tab is not shrinked;
  • I can close the tab via Ctrl+W.

I wanted to create a keybinding. I get the following command using sublime.log_commands(True) run on ST3 console:

{
	"keys": ["alt+shift+p"],
	"command": "tabs_extra_close",
	"args": {
		"close_type": "other",
		"close_unsaved": false,
		"group": 0,
		"index": 4
	}
}

It works as expected, however, we need to change the group and index key values according to which tab in which group is open. Any idea how could we do this?

tukusejssirs avatar Oct 07 '20 07:10 tukusejssirs

Maybe needs a wrapper. I'll have to take a look when I get a chance. Currently, I'm knee deep in a refactor of my https://github.com/facelessuser/ColorHelper plugin.

facelessuser avatar Oct 07 '20 19:10 facelessuser