Skip to content

Commit 9ad32d8

Browse files
committed
Add double-click binding to commit the selection
1 parent 2617e47 commit 9ad32d8

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Default.sublime-mousemap

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[
2+
{
3+
"button": "button1",
4+
"count": 2,
5+
"press_command": "drag_select",
6+
"command": "exit_outline_mode",
7+
"context": [{ "key": "outline_mode" }]
8+
},
9+
]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Or walk using the arrow keys (or `,`and `.`):
1616

1717
https://github.com/kaste/InlineOutline/assets/8558/d6eca69b-c9b9-46b3-9b66-e61dd6303b47
1818

19-
As usual, `<enter>` will go to to the selected symbol and `<esc>` will reset the
20-
cursor and viewport.
19+
As usual, `<enter>` or double-clicking with the mouse will go to to the selected symbol
20+
and `<esc>` will reset the cursor and viewport.
2121

2222

2323
# Key binding

0 commit comments

Comments
 (0)