SublimeFileBrowser icon indicating copy to clipboard operation
SublimeFileBrowser copied to clipboard

Make FileBrowser tab unclosable

Open Ch00k opened this issue 10 years ago • 4 comments

Sometimes I accidentally close the FileBrowser tab by hitting Command+W while being focused on its tab instead of on the actual editor tab I intend to close. Would be nice to have an option to make the FileBrowser tab "unclosable" (i.e. sticky/protected). UPD TabsExtra plugin implements just that but still it would be nice to integrate the feature into FileBrowser.

Ch00k avatar Oct 06 '15 05:10 Ch00k

Meh, if there is plugin already, then what’s the point to duplicate functionality, esp. unrelated to filemanagment one?

vovkkk avatar Oct 06 '15 09:10 vovkkk

Pressing Command+W whilst using TabsExtra and Sticky Tabs selected still closes the File Browser tab. I came to this issue whilst looking for a solution myself. +1

brokenalarms avatar Feb 29 '16 19:02 brokenalarms

You can disable keys in your user keybindings file:

{ "keys": ["super+w"], "command": "noop",
  "context": [{ "key": "selector", "operator": "equal", "operand": "text.dired" }]
}

vovkkk avatar Mar 01 '16 02:03 vovkkk

huh, why thank you!

brokenalarms avatar Mar 01 '16 02:03 brokenalarms