Skip to content

Commit

Permalink
Add tab bindings to OSX and Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
skuroda committed Dec 17, 2012
1 parent abb3c03 commit d029cda
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
13 changes: 12 additions & 1 deletion Default (Linux).sublime-keymap
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
[
{ "keys": ["super+alt+n"], "command": "advanced_new_file"},
{ "keys": ["shift+super+alt+n"], "command": "advanced_new_file", "args": {"is_python": true}}
{ "keys": ["shift+super+alt+n"], "command": "advanced_new_file", "args": {"is_python": true}},
{
"keys": ["tab"],
"command": "insert_best_completion",
"args": {"default": "", "exact": false},
"context": [
{ "key": "advanced_new_file_completion"},
{ "key": "setting.tab_completion", "operator": "equal", "operand": true },
{ "key": "last_command", "operator": "not_equal", "operand": "insert_best_completion" },
{ "key": "auto_complete_visible" , "operator": "equal", "operand": false}
]
}
]
13 changes: 12 additions & 1 deletion Default (OSX).sublime-keymap
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
[
{ "keys": ["super+alt+n"], "command": "advanced_new_file"},
{ "keys": ["shift+super+alt+n"], "command": "advanced_new_file", "args": {"is_python": true}}
{ "keys": ["shift+super+alt+n"], "command": "advanced_new_file", "args": {"is_python": true}},
{
"keys": ["tab"],
"command": "insert_best_completion",
"args": {"default": "", "exact": false},
"context": [
{ "key": "advanced_new_file_completion"},
{ "key": "setting.tab_completion", "operator": "equal", "operand": true },
{ "key": "last_command", "operator": "not_equal", "operand": "insert_best_completion" },
{ "key": "auto_complete_visible" , "operator": "equal", "operand": false}
]
}
]

0 comments on commit d029cda

Please sign in to comment.