Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit f699097a8e305117b4e1d03bc0bdb92e82e2914b 1 parent 901d5ad
@barneywilliams barneywilliams authored
View
4 Default (OSX).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": {} }
]
View
10 Default (Windows).sublime-keymap
@@ -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": {} }
]
Please sign in to comment.
Something went wrong with that request. Please try again.