# Automatically open editor when opening a file?

#### Robert

22 Feb, 2018 06:26 PM

I've search the support forums and couldn't find a Q/A that tells if this is possible...

Is there a way to configure M2 to automatically open my preferred editor (in my case, it's MacVim) whenever I open a document? I almost always want to make changes to a document and am constantly having to type cmd + E when opening documents. It would be nice if there were a preference to do cmd + E automatically each time I open a file. Thanks.

1. Support Staff Posted by Brett on 23 Feb, 2018 12:10 AM

It's not currently an option, though I made it possible with Scrivener
documents (automatically open Scrivener when a Scrivener project is
loaded), so I'm not entirely against adding the option. In my personal
workflow I'm not always editing a document I'm previewing in Marked, so
it doesn't make sense to force another app to open with every file. I'd
be wary of it because options like that inevitably result in users
unwittingly enabling it and then filing support requests asking why
their editor keeps launching... but I'd take it under further
consideration.

-Brett

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

### »

#### Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

# Keyboard shortcuts

### Generic

? Show this help Blurs the current field

### Comment Form

r Focus the comment reply box Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

## Recent Discussions

 21 Feb, 2020 11:32 PM Option to use MathJax 3? 20 Feb, 2020 03:12 PM Regular crashes 13 Feb, 2020 09:22 PM Markdown Formatting 11 Feb, 2020 11:53 AM Custom themes not working 10 Feb, 2020 06:48 PM KaTex Preview Update

## Recent Articles

 Using JavaScript in Marked Custom CSS: Writing custom CSS for Marked License code has already been utilized Highlight sentences longer than a certain number of words How do I retrieve a lost license (direct version)