open document via command line
It would be great to be able to open a file via the command
line. TextMate lets you
do this via a binary they ship called mate
. So you can
do mate .
to edit the
tree of files in the current directory. Another approach would be
to integrate via the
exisitng open
command. Either way, this would make a
great new feature to an
already great app.
Thanks,
--Jim
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 23 Apr, 2015 08:45 PM
Marked 1 originally shipped with a
mark
binary, but it became problematic when moving to the app store. Just can just useopen -a 'Marked 2' filename.md
.You can also create a shell alias:
and then just use
mark filename.md
.Further, there's a URL handler for more advanced tasks like previewing arbitrary text, changing styles, forcing all or individual windows to refresh, etc. This can also be called with the
open
command.