Permalink
Browse files

Updated Windows keymap to use ctrl rather than Windows key. Updated c…

…trl+F7 on Windows to run 'rake.bat spec' from folder[0] root. Added key mapping to trigger rspec_create_module on Windows.
  • Loading branch information...
1 parent 901d5ad commit f699097a8e305117b4e1d03bc0bdb92e82e2914b @barneywilliams barneywilliams committed Feb 21, 2012
Showing with 8 additions and 6 deletions.
  1. +3 −1 Default (OSX).sublime-keymap
  2. +5 −5 Default (Windows).sublime-keymap
@@ -9,5 +9,7 @@
{ "keys": ["super+alt+period"], "command": "open_rspec_file", "args": {"option": "test_and_source"} },
{ "keys": ["super+period"], "command": "open_rspec_file", "args": {"option": "next"} },
{ "keys": ["super+alt+s"], "command": "open_rspec_file", "args": {"option": "source"} },
- { "keys": ["super+alt+t"], "command": "open_rspec_file", "args": {"option": "test"} }
+ { "keys": ["super+alt+t"], "command": "open_rspec_file", "args": {"option": "test"} },
+
+ { "keys": ["super+alt+n"], "command": "rspec_create_module", "args": {} }
]
@@ -1,15 +1,15 @@
[
{ "keys": ["ctrl+f7"],
"command": "exec",
- "args": {"cmd": ["rake", "spec"]},
+ "args": {"cmd": ["rake.bat", "spec"]},
"file_regex": "# ([A-Za-z0-9_./ ]+rb):([0-9]+)",
"working_dir": "${folder}"
},
- { "keys": ["super+alt+period"], "command": "open_rspec_file", "args": {"option": "test_and_source"} },
- { "keys": ["super+period"], "command": "open_rspec_file", "args": {"option": "next"} },
- { "keys": ["super+alt+s"], "command": "open_rspec_file", "args": {"option": "source"} },
- { "keys": ["super+alt+t"], "command": "open_rspec_file", "args": {"option": "test"} },
+ { "keys": ["ctrl+alt+period"], "command": "open_rspec_file", "args": {"option": "test_and_source"} },
+ { "keys": ["ctrl+period"], "command": "open_rspec_file", "args": {"option": "next"} },
+ { "keys": ["ctrl+alt+s"], "command": "open_rspec_file", "args": {"option": "source"} },
+ { "keys": ["ctrl+alt+t"], "command": "open_rspec_file", "args": {"option": "test"} },
{ "keys": ["ctrl+alt+n"], "command": "rspec_create_module", "args": {} }
]

0 comments on commit f699097

Please sign in to comment.