From e6f455228737ee572acdfc1494f347446e3af01c Mon Sep 17 00:00:00 2001 From: wT Date: Wed, 25 Feb 2015 08:05:59 +0200 Subject: [PATCH 1/2] - Fix menu mnemonic. Gets rid of the console nag - Fix open_inbox command's path problem on Windows --- Main.sublime-menu | 2 +- jotter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Main.sublime-menu b/Main.sublime-menu index e97e1e0..04a214d 100644 --- a/Main.sublime-menu +++ b/Main.sublime-menu @@ -63,7 +63,7 @@ }, { "caption": "Notes", - "mnemonic": "n", + "mnemonic": "N", "id": "notes", "children": [ { "caption": "-" , "id": "open" }, diff --git a/jotter.py b/jotter.py index b2bc087..7886b8f 100644 --- a/jotter.py +++ b/jotter.py @@ -58,5 +58,5 @@ class OpenInboxCommand(sublime_plugin.ApplicationCommand): def run(self): root = get_root() inbox = os.path.join(root, '.brain', 'Inbox.note') - sublime.active_window().run_command("open_file", {"file": inbox}) + sublime.active_window().open_file(inbox) From 5e803f43c090c8cbe1c230978c78006c372d0c99 Mon Sep 17 00:00:00 2001 From: wT Date: Wed, 25 Feb 2015 08:14:40 +0200 Subject: [PATCH 2/2] Fix for default jotter_[date|time]_format settings for Windows compatibility --- Notes.sublime-settings | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Notes.sublime-settings b/Notes.sublime-settings index 889994c..d477c55 100644 --- a/Notes.sublime-settings +++ b/Notes.sublime-settings @@ -2,8 +2,8 @@ "root": "~/Dropbox/Notes/", "archive_dir": ".archive", "jotter_color_scheme": "Packages/PlainNotes/Color Schemes/Sticky-Yellow.tmTheme", - "jotter_date_format" :"%-d %-b %Y", - "jotter_time_format": "%-I:%M %p", + "jotter_date_format" :"%d %b %Y", + "jotter_time_format": "%I:%M %p", "note_save_extension": "note", "note_file_extensions": ["md","note"], "enable_yaml": false,