SublimeText / InsertNums

Sublime Text plugin for inserting sequences. Supporting alphanumerics and hex, with bitwise operations!
https://james-brooks.uk
MIT License
123 stars 15 forks source link

easier access to change the default hotkey #5

Closed relikd closed 11 years ago

jbrooksuk commented 11 years ago

This is a good idea, however I feel we should be modifying the User versions rather than Default.

relikd commented 11 years ago

you can add this to add the appropriate menu item (but it does the same like Preferences -> Key Bindings - User) // I can't modify the commit, but you can change it at the same time you edit the packages.json with the new version number

{
    "command": "open_file",
    "args": {
        "file": "${packages}/User/Default (Windows).sublime-keymap",
        "platform": "Windows"
    },
    "caption": "Key Bindings – User"
},
{
    "command": "open_file",
    "args": {
        "file": "${packages}/User/Default (OSX).sublime-keymap",
        "platform": "OSX"
    },
    "caption": "Key Bindings – User"
},
{
    "command": "open_file",
    "args": {
        "file": "${packages}/User/Default (Linux).sublime-keymap",
        "platform": "Linux"
    },
    "caption": "Key Bindings – User"
},
jbrooksuk commented 11 years ago

Can you commit this then please? If you fetch, pull and make another commit to patch-1 it should work.