GithubHelp home page GithubHelp logo

Comments (7)

juanfal avatar juanfal commented on July 28, 2024

Please, do not add any shortcut. I understand you are a novice ST2 user, but you'll realize in a short time that the mess it makes to have each Package adding its own random shortcut can be a real headache. Use the package for a while until you see it suits you, and then Goto Preferences->Key Bindings - User and add a keyboard shortcut according to your needs and uses.

from sublime-jsrun.

drublic avatar drublic commented on July 28, 2024

Thanks for your thoughts. Can you help me figure out how to add a user key-binding for jsrun, @juanfal?

from sublime-jsrun.

juanfal avatar juanfal commented on July 28, 2024

Goto Preferences->Key Bindings - User

And in the empty (I suppose you do not have any previous key binding…)

[
    { "keys": ["ctrl+shift+j"], , "command": "js_run" }
]

you can see examples in

Preferences->Key Bindings - Default

from sublime-jsrun.

drublic avatar drublic commented on July 28, 2024

Awesome. Thank you.
Anyway… Packages come with good defaults sometimes. And I think that is ok, as long as you can overwrite them through the Key Bindings - User.

On 02.11.2012, at 23:54, juanfal [email protected] wrote:

Goto Preferences->Key Bindings - User

And in the empty (I suppose you do not have any previous key binding…)

[
{ "keys": ["ctrl+shift+j"], , "command": "js_run" }
]
you can see examples in

Preferences->Key Bindings - Default


Reply to this email directly or view it on GitHub.

from sublime-jsrun.

juanfal avatar juanfal commented on July 28, 2024

The problem with that approach, sometimes, is they hide other keyboard commands and that can even be dangerous or unreliable at the best.

TextMate used to have a very clever way to handle it: it allows to have more than one action over one shortcut and when you act doing the shortcut it offers you a small pop-up menu with the meaning of each one to select.

from sublime-jsrun.

sindresorhus avatar sindresorhus commented on July 28, 2024

I have to agree with @juanfal. Maybe if Sublime had some kind of shortcut conflict system, but atm it only causes confusion.

I'd rather just improve the instruction on how to add the shortcut.

from sublime-jsrun.

drublic avatar drublic commented on July 28, 2024

Ok. A comment about how to set a shortcut would be awesome :)
Thanks!

from sublime-jsrun.

Related Issues (14)

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.