Giter VIP home page Giter VIP logo

Comments (11)

lee-dohm avatar lee-dohm commented on July 17, 2024 1

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()

from tabs.

leny avatar leny commented on July 17, 2024

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

from tabs.

mjrk avatar mjrk commented on July 17, 2024

+1 here, too.

from tabs.

halcarleton avatar halcarleton commented on July 17, 2024

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

from tabs.

 avatar commented on July 17, 2024

+1 Would also like the keybinding for closing all tabs without closing the window

from tabs.

rubencaro avatar rubencaro commented on July 17, 2024

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

from tabs.

lee-dohm avatar lee-dohm commented on July 17, 2024

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.

from tabs.

mryellow avatar mryellow commented on July 17, 2024

Debian KDE - Atom 0.2
atom_close_menu

from tabs.

rubencaro avatar rubencaro commented on July 17, 2024

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

from tabs.

rubencaro avatar rubencaro commented on July 17, 2024

Nice! Thanks!

from tabs.

mryellow avatar mryellow commented on July 17, 2024

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.

from tabs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.