Skip to content

Commit

Permalink
rename open to open link
Browse files Browse the repository at this point in the history
  • Loading branch information
mattragoza committed Dec 9, 2022
1 parent 9b96215 commit 46cc781
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Context.sublime-menu
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"caption": "Open link",
"command": "notedown_open"
"command": "notedown_open_link"
},
{
"caption": "Open journal",
Expand Down
4 changes: 2 additions & 2 deletions Default.sublime-commands
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"caption": "Notedown: Open",
"command": "notedown_open"
"caption": "Notedown: Open Link",
"command": "notedown_open_link"
},
{
"caption": "Notedown: Open Journal",
Expand Down
6 changes: 1 addition & 5 deletions Default.sublime-keymap
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
[
{
"keys": ["ctrl+alt+o"],
"command": "notedown_open"
"command": "notedown_open_link"
},
{
"keys": ["ctrl+alt+j"],
"command": "notedown_open_journal"
},
{
"keys": ["ctrl+alt+l"],
"command": "notedown_link"
}
]
2 changes: 1 addition & 1 deletion Default.sublime-mousemap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
{
"button": "button1", "count": 1, "modifiers": ["ctrl", "alt"],
"press_command": "drag_select",
"command": "notedown_open"
"command": "notedown_open_link"
}
]
2 changes: 1 addition & 1 deletion notedown.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_link(self):
return _LAST_NOTE


class NotedownOpenCommand(_NotedownTextCommand):
class NotedownOpenLinkCommand(_NotedownTextCommand):

def run(self, edit):
self._notes = _find_notes_for_view(self.view)
Expand Down

0 comments on commit 46cc781

Please sign in to comment.