Comments (4)
I see. I don't use OSX which is why I can't test the bindings.
What different bindings do you suggest as default instead? Shift+F5 maybe?
Regarding editing the files, you are not supposed to edit the files directly because they are inside a .sublime-package
zip archive. You could use https://packagecontrol.io/packages/PackageResourceViewer to properly override the default files, but in this case it is more approproate to just add custom bindings to your User key bindings file (the global one).
See also http://docs.sublimetext.info/en/latest/extensibility/packages.html#sublime-package-packages.
from insertdate.
OK I didn't realise there was a single global user settings file to override all plugins' shortcuts, thanks.
shift+F5 seems to bring up an autocompletion menu. ctrl+F5 seems to be in use (for something weird).
alt+F5 doesn't seem to do anything, so that could be good. I've just added { "keys": ["alt+f5"], "command": "insert_date" }
to my global menu, and it works nicely.
I guess there's always a risk you'll clash with another plugin's default keybindings. But I think alt+F5 should be fairly safe.
from insertdate.
alt+f5 is already bound to insert_date_prompt
-- I looked at several alternatives (e.g. bind to f6, but that's used for spell check...) and I think the best way to solve this, assuming you don't need to toggle VoiceOver, is to turn off the Mac OS shortcut.
System Preferences -> Keyboard -> Shortcuts -> Accessibility, unselect "Turn VoiceOver on or off" and "Show Accessibility Controls".
from insertdate.
thanks @chadfrost the disabling of shortcuts helps, also i tried using this
[
// Insert datetime using default format text
{ "keys": ["super+ctrl+d"],
"command": "insert_date" }
]
which works, but then I have to change for every other insertDate command.
from insertdate.
Related Issues (20)
- Preview while entering format string in input panel
- . HOT 2
- Crash when use with Vintageous HOT 1
- f5 overrides default sort bind on Sublime Text HOT 5
- feature request : updated date HOT 1
- How do i uninstall this package? HOT 7
- InsertDate suddenly stopped working HOT 17
- Error message "Process being used by another process" HOT 9
- Bad version number HOT 1
- New Feature: parse and reformat date in view HOT 4
- Don't require selecting a timezone HOT 4
- Make %Z work on locale timezone setting
- Please explain how to configure a keyboard shortcut HOT 2
- InsertDate ignores change of system timezone HOT 3
- InsertDate don't use system tzdata HOT 1
- Log the date in the status bar when creating custom date HOT 2
- Not working in Sublime Text 3 build 3143 HOT 4
- Day of the week HOT 1
- F5 .. ctrl-F5 any keybindings from InsertDate stopped working under KDE in Sublime either 4121 or 4126 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from insertdate.