Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commands matching tab contextual menu (right-click on a tab) #61

Closed

Description

@douglascamata

I'm missing a lot commands for the tab contextual menu actions, like "Close all", "Close unmodiffied", "Close saved", etc and I guess many other users are missing them too.

Activity

  1. leny commented on Oct 21, 2014

    @leny
    Contributor

    +1 here. Should be great to be able to map the "close all" to a keybinding.

  2. mjrk commented on Jan 10, 2015

    @mjrk

    +1 here, too.

  3. halcarleton commented on Feb 6, 2015

    @halcarleton

    +1 - I was surprised to find no default key binding for close all tabs.

  4. rubencaro commented on Jul 12, 2015

    @rubencaro

    +1. closing all tabs without closing the window a must.

  5. lee-dohm commented on Jul 13, 2015

    @lee-dohm
    Contributor

    There is a command for closing all tabs. And as far as I know, there are commands for all the other items in the context menu too:

    screen shot 2015-07-12 at 8 58 36 pm

    Closing this as fixed. If there are specific commands that are still missing, please open a single issue for each.

  6. mryellow commented on Jul 13, 2015

    @mryellow

    Debian KDE - Atom 0.2
    atom_close_menu

  7. rubencaro commented on Jul 13, 2015

    @rubencaro

    Sorry, what we meant was to be able to define keybindings for these commands. At least that's what I meant.

  8. lee-dohm commented on Jul 13, 2015

    @lee-dohm
    Contributor

    You should be able to define key bindings for virtually any command in the command palette. The command name is a simple transformation from the label in the command palette. In this case:

    • tabs:close-other-tabs
    • tabs:close-saved-tabs
    • etc

    See the code here:

    @subscriptions.add atom.commands.add atom.views.getView(@pane),
    'tabs:keep-preview-tab': => @clearPreviewTabs()
    'tabs:close-tab': => @closeTab(@getActiveTab())
    'tabs:close-other-tabs': => @closeOtherTabs(@getActiveTab())
    'tabs:close-tabs-to-right': => @closeTabsToRight(@getActiveTab())
    'tabs:close-saved-tabs': => @closeSavedTabs()
    'tabs:close-all-tabs': => @closeAllTabs()

  9. rubencaro commented on Jul 13, 2015

    @rubencaro

    Nice! Thanks!

  10. mryellow commented on Jul 13, 2015

    @mryellow

    Your competition all have a "Close All Tabs" button on the file menu. This is an expected UX paradigm. Missing this button leaves new users not able to find basic functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions