Commit Graph

64 Commits

Author SHA1 Message Date
Kevin Sawicki
3ce6176313 Rename rootView to workspaceView 2013-11-26 11:02:53 -08:00
Matt Colyer
6c1b63d352 Pass originalEvent property on command events
vim-mode needs access to the original keystroke that triggered the
event.
2013-11-21 17:49:07 -05:00
Matt Colyer
66171e0301 Modifiers need to be added in alphabetical order 2013-11-21 16:17:37 -05:00
Matt Colyer
161c9a62b5 Merge branch 'master' into meta-to-command
Conflicts:
	spec/keymap-spec.coffee
2013-11-21 09:59:49 -05:00
Kevin Sawicki
f9498732a5 Add atom prefix to rootView 2013-11-20 17:23:47 -08:00
Ben Ogle
819ac9ea68 Add keyBindingsForCommandMatchingElement to keymap 2013-11-20 15:43:02 -08:00
Matt Colyer
55e90f8ae1 Use cmd instead of command 2013-11-19 15:29:37 -08:00
Matt Colyer
1e4504e7f3 Use command instead of meta 2013-11-19 15:16:55 -08:00
probablycorey
a0c6a94409 Added documentation for Keymap's public classes 2013-11-15 14:23:52 -08:00
probablycorey
80cdf61fa4 Update remove spec 2013-11-15 14:09:24 -08:00
probablycorey
29c3fadb6f Move public methods to top of file 2013-11-15 14:07:01 -08:00
probablycorey
1ae3806c69 Use source instead of name 2013-11-15 14:06:03 -08:00
probablycorey
98b509441c Move methods into KeyBinding class 2013-11-15 14:05:35 -08:00
probablycorey
cb8e378af6 Use keyBinding in place of binding in method names 2013-11-15 13:49:17 -08:00
probablycorey
8ed4923e58 Replace binding-set with key-binding 2013-11-15 13:32:09 -08:00
probablycorey
529c829438 💄 2013-11-15 11:54:18 -08:00
probablycorey
809a02ca10 Clone keyBindings by default 2013-11-15 11:54:09 -08:00
probablycorey
4852ba6d95 Don't store binding sets, instead store a keyBinding array 2013-11-15 10:21:38 -08:00
probablycorey
ca8ae9ad61 Remove bindingsForElement 2013-11-14 16:45:09 -08:00
probablycorey
2fb00af255 Rename keyMapping to keyBinding 2013-11-14 16:20:35 -08:00
probablycorey
fc0a46d6b2 Add mappingsForKeystrokeMatchingElement 2013-11-14 16:05:10 -08:00
probablycorey
fd443a8b68 Reorder args 2013-11-14 16:05:01 -08:00
probablycorey
c43f277c5b Remove getAllKeyMappings 2013-11-14 14:46:21 -08:00
probablycorey
dd0938dca6 Merge remote-tracking branch 'origin/master' into cj-keymap-cleanup 2013-11-14 14:43:37 -08:00
probablycorey
c3aea1d149 Remove keymap.keystrokeByCommmandForSelector 2013-11-14 14:18:54 -08:00
probablycorey
21060ae85a Update public keymap interface 2013-11-14 08:33:23 -08:00
probablycorey
8f9f5ed0ed Update specs 2013-11-11 15:46:17 -08:00
probablycorey
d71e58ec33 Use keystroke even when referring to multiKeystrokes
The use of keystroke and keystrokes was becoming confusing. When I 
started thinking of a keystroke as a set of keys that trigger a
command it became easier to think about.
2013-11-11 14:05:48 -08:00
probablycorey
8c8f1bc048 Make keymap changes backwards compatible 2013-11-11 11:42:11 -08:00
probablycorey
9914085ead Simplify keymap selector matching 2013-11-11 11:42:10 -08:00
Kevin Sawicki
e31dbfd7d6 Store resourcePath as ivar 2013-11-11 10:40:50 -08:00
Kevin Sawicki
ad0d0473b3 Add missing paren 2013-11-11 10:33:09 -08:00
Kevin Sawicki
0b78450917 🔥 config.bundledKeymapsDirPath 2013-11-11 10:33:09 -08:00
Kevin Sawicki
23c8db09b7 💉 paths into Keymap constructor 2013-11-11 09:05:39 -08:00
probablycorey
b041c0176c Merge remote-tracking branch 'origin/master' into cj-sublime-bindings 2013-11-01 11:33:13 -07:00
probablycorey
b22d64745f Handle multi-keystroke keybinding
Previously for a binding like `meta-x meta-y` you had to hold down the 
meta key. This makes it possible to release the meta key between
key presses.
2013-11-01 11:15:01 -07:00
probablycorey
9e8b1fb661 Handle modifier keydown events
When only a modifier is pressed it still triggers a keydown event. This
normalizes the keystroke name for those events.
2013-11-01 11:02:46 -07:00
Kevin Sawicki
83dcf79bcf Use fs-plus 2013-11-01 08:46:02 -07:00
probablycorey
cde0fae1f3 Rename Keymap::loadUserKeymaps to Keymap::loadUserKeymap 2013-10-28 09:19:23 -07:00
probablycorey
95107052d0 User keymap can be cson or json 2013-10-28 09:18:29 -07:00
probablycorey
42362e6ce9 Load user-keymap.cson instead of keymaps dir 2013-10-25 16:19:38 -07:00
Kevin Sawicki
9d51d1a143 Use jquery provided by space-pen 2013-10-16 13:34:41 -07:00
Kevin Sawicki
216a5e61fd Update underscore-extensions requires 2013-10-15 13:50:16 -07:00
Kevin Sawicki
e5ac73e0db Use includeInto instead of _.extend 2013-10-14 17:28:26 -07:00
Kevin Sawicki
0b0c3229d3 EventEmitter is exported as Emitter 2013-10-14 17:28:26 -07:00
Kevin Sawicki
a0486bc9b0 Use emit instead of trigger 2013-10-14 17:28:26 -07:00
Kevin Sawicki
f9a0e038a5 Use emissary for EventEmitter and Subscriber 2013-10-14 17:28:26 -07:00
Kevin Sawicki
940df94081 Load core menu items after bundled keymaps load
Closes #948
2013-10-10 17:50:39 -07:00
Matt Colyer
c22d411e16 Handle linked packages and linked atoms 2013-09-25 15:46:06 -07:00
Matt Colyer
45c9d500e9 📝 2013-09-25 14:42:36 -07:00