Skip to content

Commit

Permalink
Updated Windows keymap to use ctrl rather than Windows key. Updated c…
Browse files Browse the repository at this point in the history
…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
barneywilliams committed Feb 21, 2012
1 parent 901d5ad commit f699097
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion Default (OSX).sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -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": {} }
]
10 changes: 5 additions & 5 deletions Default (Windows).sublime-keymap
Original file line number Diff line number Diff line change
@@ -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.