Skip to content
Browse files

Add vim style key bindings to navigate todo list (j,k)

  • Loading branch information...
1 parent c714e97 commit 3ea5399b075cdfe4985616c39a6d40acbe0d836a @ViViDboarder ViViDboarder committed Aug 10, 2012
Showing with 57 additions and 3 deletions.
  1. +19 −1 Default (Linux).sublime-keymap
  2. +19 −1 Default (OSX).sublime-keymap
  3. +19 −1 Default (Windows).sublime-keymap
View
20 Default (Linux).sublime-keymap
@@ -24,6 +24,15 @@
],
"args": {"direction": "forward"}
},
+
+ {
+ "keys": ["j"], "command": "navigate_results",
+ "context": [
+ {"key": "setting.command_mode", "operand": true}
+ // {"key": "setting.todo_results"}
+ ],
+ "args": {"direction": "forward"}
+ },
{
"keys": ["p"], "command": "navigate_results",
@@ -44,6 +53,15 @@
},
{
+ "keys": ["k"], "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}
@@ -59,4 +77,4 @@
]
}
-]
+]
View
20 Default (OSX).sublime-keymap
@@ -24,6 +24,15 @@
],
"args": {"direction": "forward"}
},
+
+ {
+ "keys": ["j"], "command": "navigate_results",
+ "context": [
+ {"key": "setting.command_mode", "operand": true}
+ // {"key": "setting.todo_results"}
+ ],
+ "args": {"direction": "forward"}
+ },
{
"keys": ["p"], "command": "navigate_results",
@@ -44,6 +53,15 @@
},
{
+ "keys": ["k"], "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}
@@ -59,4 +77,4 @@
]
}
-]
+]
View
20 Default (Windows).sublime-keymap
@@ -24,6 +24,15 @@
],
"args": {"direction": "forward"}
},
+
+ {
+ "keys": ["j"], "command": "navigate_results",
+ "context": [
+ {"key": "setting.command_mode", "operand": true}
+ // {"key": "setting.todo_results"}
+ ],
+ "args": {"direction": "forward"}
+ },
{
"keys": ["p"], "command": "navigate_results",
@@ -44,6 +53,15 @@
},
{
+ "keys": ["k"], "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}
@@ -59,4 +77,4 @@
]
}
-]
+]

0 comments on commit 3ea5399

Please sign in to comment.
Something went wrong with that request. Please try again.