Skip to content

Commit

Permalink
Added tweak to make mouse click to goto definition upon ctrl+shift+cl…
Browse files Browse the repository at this point in the history
…ick without needing to first select the tag in the buffer first. Minor cleanup of keymap
  • Loading branch information
Greg Williams committed Aug 14, 2012
1 parent ace50eb commit 65100f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 0 additions & 4 deletions Default.sublime-keymap
@@ -1,7 +1,6 @@
[
{
"command": "navigate_to_definition",
"context": [],
"keys": ["ctrl+t", "ctrl+t"]
},
{
Expand All @@ -10,18 +9,15 @@
},
{
"command": "jump_back",
"context": [],
"keys": ["ctrl+t", "ctrl+b"]
},
{
"command": "jump_back",
"args": {"to": "last_modification"},
"context": [],
"keys": ["ctrl+t", "ctrl+m"]
},
{
"command": "rebuild_tags",
"context": [],
"keys": ["ctrl+t", "ctrl+r"]
},
{
Expand Down
5 changes: 3 additions & 2 deletions Default.sublime-mousemap
Expand Up @@ -2,7 +2,8 @@
{
"button": "button1",
"count": 1,
"press_command": "drag_select",
"modifiers": ["ctrl","shift"],
"press_command": "navigate_to_definition"
"command": "navigate_to_definition"
}
]
]

0 comments on commit 65100f2

Please sign in to comment.