Re: How to set EDITOR

2018-03-15 Thread Bailey Stoner
Hi Jason,
I don't know if it helps, but exporting EDITOR only works in the shell that you 
run it from. I'm guessing you ran it in a different shell. If not, then I think 
we will need more deets on exactly what you're doing :)
You could also try ` EDITOR=mvim direnv edit .`, but I'm guessing having it 
inline isn't ideal for your use-case. Hope that helps :)
Best,  Bailey
14. Mar 2018 20:04 by jasonpicken...@gmail.com 
:


> How do I set the EDITOR variable so that MacVim will launch within my 
> terminal and not a separate GUI?
>
> I tried:
>> export EDITOR='mvim -v'
> But that doesn't work.
>
> Running it directly does work:
>> mvim -v
>
> Normal vim does what I expect:
>> export EDITOR='vim'
>
> In case it makes any difference, EDITOR is being used when I execute:
>> direnv edit .
>
>
> Cheers
>
> -- 
> -- 
> You received this message from the "vim_mac" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit > http://www.vim.org/maillist.php 
> 
>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "vim_mac" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to > vim_mac+unsubscr...@googlegroups.com 
> > .
> For more options, visit > https://groups.google.com/d/optout 
> > .

-- 
-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_mac+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to set EDITOR

2018-03-15 Thread Andrew Stewart

> How do I set the EDITOR variable so that MacVim will launch within my 
> terminal and not a separate GUI?

This works for me:

export EDITOR='/Applications/MacVim.app/Contents/MacOS/Vim'

Yours,
Andrew Stewart

-- 
-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_mac+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to set EDITOR

2018-03-14 Thread jasonpickensnz
How do I set the EDITOR variable so that MacVim will launch within my terminal 
and not a separate GUI?

I tried:
> export EDITOR='mvim -v'
But that doesn't work.

Running it directly does work:
> mvim -v

Normal vim does what I expect:
> export EDITOR='vim'

In case it makes any difference, EDITOR is being used when I execute:
> direnv edit .


Cheers

-- 
-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_mac+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.