Permalink
Browse files

Prevent alt+enter hotkey from breaking find dialog when it contains s…

…elected text.
  • Loading branch information...
johnburnett committed Feb 25, 2012
1 parent 20bb0b7 commit 55108a92587859bf672b44ff769a041e7dcad056
Showing with 9 additions and 3 deletions.
  1. +3 −1 Default (Linux).sublime-keymap
  2. +3 −1 Default (OSX).sublime-keymap
  3. +3 −1 Default (Windows).sublime-keymap
@@ -1,5 +1,7 @@
[
{ "keys": ["alt+enter"], "command": "select_highlighted_words", "context":
- [ { "key": "selection_empty", "operator": "equal", "operand": false } ]
+ [ { "key": "selection_empty", "operator": "equal", "operand": false },
+ { "key": "setting.is_widget", "operator": "equal", "operand": false }
+ ]
}
]
@@ -1,5 +1,7 @@
[
{ "keys": ["alt+enter"], "command": "select_highlighted_words", "context":
- [ { "key": "selection_empty", "operator": "equal", "operand": false } ]
+ [ { "key": "selection_empty", "operator": "equal", "operand": false },
+ { "key": "setting.is_widget", "operator": "equal", "operand": false }
+ ]
}
]
@@ -1,5 +1,7 @@
[
{ "keys": ["alt+enter"], "command": "select_highlighted_words", "context":
- [ { "key": "selection_empty", "operator": "equal", "operand": false } ]
+ [ { "key": "selection_empty", "operator": "equal", "operand": false },
+ { "key": "setting.is_widget", "operator": "equal", "operand": false }
+ ]
}
]

0 comments on commit 55108a9

Please sign in to comment.