Here's another Vim command. I'd prefer to launch Marked with a command rather than a shortcut (which turned out to be a problem, since Vim has an internal open command as well)
command! Marked silent !open -a "Marked.app" "%:p"
You can't have a preview command for vi without also including one for emacs...
(defun markdown-preview-file () "run Marked on the current file and revert the buffer" (interactive) (shell-command (format "open -a /Applications/Marked.app %s" (shell-quote-argument (buffer-file-name)))) ) (global-set-key "\C-cm" 'markdown-preview-file)
Just put it into your .emacs file, command key is "Ctrl-c m".
Not a clue yet, I'm pulled in many directions right now :). We're definitely hoping to have it sooner than later, though; trying to beat our last release delay by a significant margin.
Comments
Here's another Vim command. I'd prefer to launch Marked with a command rather than a shortcut (which turned out to be a problem, since Vim has an internal
opencommand as well)Andreas
You can't have a preview command for vi without also including one for emacs...
Just put it into your .emacs file, command key is "Ctrl-c m".
Great, thanks for this! And to make me feel productive, here's a bash script that opens a .d file in Marked from the Terminal.
Marked was awesome from day one, but these scripts take it to a whole new level. Thanks.
I also love this 'Display In Marked' service http://fnurl.se/better-disp...
I modified it to save a temporary text file to my Desktop.
Hey Justin, both links in your post are giving me File Not Found errors. I'd love to see the script, though, let me know if you have a direct link.
Sorry that wasn't my post. I downloaded from the above link last week and then modified it.
Thanks for putting these scripts together! I'm looking forward to the new version of nvALT. Any idea on when it will be ready for primetime?
Not a clue yet, I'm pulled in many directions right now :). We're definitely hoping to have it sooner than later, though; trying to beat our last release delay by a significant margin.