FichteFoll / InsertDate

Sublime Text Plugin that provides a configurable command and popup for inserting the current date and time (with specific format)
MIT License
124 stars 18 forks source link

f5 overrides default sort bind on Sublime Text #21

Open wbotelhos opened 9 years ago

wbotelhos commented 9 years ago

Could you change the insert command key bind?:

{ "keys": ["f5"], "command": "insert_date_panel" }

f5 is the default bind to sort lines.

FichteFoll commented 9 years ago

This is true, but only for OSX. Do you have a suggestion for a different binding?

For reference, ctrl+f5 is also affected:

    { "keys": ["f5"], "command": "sort_lines", "args": {"case_sensitive": false} },
    { "keys": ["ctrl+f5"], "command": "sort_lines", "args": {"case_sensitive": true} },
wbotelhos commented 9 years ago

Thanks for your answer, @FichteFoll.

I used to set ctrl + 1, ctrl + 2 and so...

FichteFoll commented 9 years ago

ctrl+1 and following are also bound by default, on both OSX and Linux/Windows, so that's not an option.

Would you happen to know if there is a more or less common hotkey for inserting the current date in other applications on OSX? I think I grabbed the F5 binding from TextPad, but don't actually know if this is common for other applications since F5 is mostly "refresh".

wbotelhos commented 9 years ago

May add the shift key. I tried here and there is no OSX and Linux bind for ctrl + shift + 1..

FichteFoll commented 9 years ago

I would rather use the shift key with F5 instead to be more consistent, ctrl+shift+1 seems very arbitrary.