Permalink
Browse files

Changing alt+dblclick to shift+dblclick for Linux.

The alt button in Linux is more often than not used to move the window (through clicking and dragging while holding alt down). When that's the case, the window manager will not notify the application of alt+click events. This commit replaces alt+dblclick with shift+dblclick under Linux.
  • Loading branch information...
1 parent 0ba5951 commit 5715be251b38c70c652642831407701f2cb21c86 Johan Sköld committed Sep 28, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 Default (Linux).sublime-mousemap
  2. +2 −2 README.markdown
@@ -1,6 +1,6 @@
[
{
- "button": "button1", "count": 2, "modifiers": ["alt"],
+ "button": "button1", "count": 2, "modifiers": ["shift"],
"command": "mouse_goto_comment"
}
-]
+]
View
@@ -99,7 +99,7 @@ Both are triggered from the command palette. No default key bindings are provide
Results can be navigated by keyboard and mouse:
* `n`ext, `p`revious, `c`lear, `enter`
- * `alt-double click`
+ * `alt-double click` (`shift-double click` in Linux)
Note that due to the lack of support for context in mousemaps right now,
alt-double click will trigger in _any_ document, though it should be a no-op.
@@ -114,4 +114,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 comments on commit 5715be2

Please sign in to comment.