Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add linux and windows mappings

  • Loading branch information...
commit 00cc4c034699bf5bd10f8fee7ecb17ae2b88671b 1 parent 7d1e987
@robcowie authored
View
44 Default (Linux).sublime-keymap
@@ -0,0 +1,44 @@
+[
+
+ // {
+ // "keys": ["n"], "command": "goto_next_result",
+ // "context": [
+ // { "key": "setting.todo_results", "operator": "equal", "operand": true }
+ // ]
+ // }
+
+ {
+ "keys": ["n"], "command": "navigate_results",
+ "context": [
+ {"key": "setting.command_mode", "operand": true}
+ // {"key": "setting.todo_results"}
+ ],
+ "args": {"direction": "forward"}
+ },
+
+ {
+ "keys": ["p"], "command": "navigate_results",
+ "context": [
+ {"key": "setting.command_mode", "operand": true}
+ // {"key": "setting.todo_results"}
+ ],
+ "args": {"direction": "backward"}
+ },
+
+ {
+ "keys": ["c"], "command": "clear_selection",
+ "context": [
+ {"key": "setting.command_mode", "operand": true}
+ // {"key": "setting.todo_results"}
+ ]
+ },
+
+ {
+ "keys": ["enter"], "command": "goto_comment",
+ "context": [
+ {"key": "setting.command_mode", "operand": true}
+ // {"key": "setting.todo_results"}
+ ]
+ }
+
+]
View
6 Default (Linux).sublime-mousemap
@@ -0,0 +1,6 @@
+[
+ {
+ "button": "button1", "count": 2, "modifiers": ["alt"],
+ "command": "mouse_goto_comment"
+ }
+]
View
44 Default (Windows).sublime-keymap
@@ -0,0 +1,44 @@
+[
+
+ // {
+ // "keys": ["n"], "command": "goto_next_result",
+ // "context": [
+ // { "key": "setting.todo_results", "operator": "equal", "operand": true }
+ // ]
+ // }
+
+ {
+ "keys": ["n"], "command": "navigate_results",
+ "context": [
+ {"key": "setting.command_mode", "operand": true}
+ // {"key": "setting.todo_results"}
+ ],
+ "args": {"direction": "forward"}
+ },
+
+ {
+ "keys": ["p"], "command": "navigate_results",
+ "context": [
+ {"key": "setting.command_mode", "operand": true}
+ // {"key": "setting.todo_results"}
+ ],
+ "args": {"direction": "backward"}
+ },
+
+ {
+ "keys": ["c"], "command": "clear_selection",
+ "context": [
+ {"key": "setting.command_mode", "operand": true}
+ // {"key": "setting.todo_results"}
+ ]
+ },
+
+ {
+ "keys": ["enter"], "command": "goto_comment",
+ "context": [
+ {"key": "setting.command_mode", "operand": true}
+ // {"key": "setting.todo_results"}
+ ]
+ }
+
+]
View
6 Default (Windows).sublime-mousemap
@@ -0,0 +1,6 @@
+[
+ {
+ "button": "button1", "count": 2, "modifiers": ["alt"],
+ "command": "mouse_goto_comment"
+ }
+]
Please sign in to comment.
Something went wrong with that request. Please try again.