Re: Problem setting bold fonts via .gvimrc

2010-03-26 Thread Kyle Lippincott
What do you see if you do ":set guifont?" (with the question mark, without the quotes) after setting it from the menu? The guifont line is interpreted differently on pretty much every platform, unfortunately. It's possible :b isn't the proper way to set it (I haven't tested this). On Fri, Mar 2

Problem setting bold fonts via .gvimrc

2010-03-26 Thread Frank R.
Hello, I'm triying to change the default font to "Consolas:h15:b" but when I issue the command: set guifont=Consolas:h15:b I get an "Unvalid font error". It works fine if i use "Consolas:h15" If I try this same font via Edit->Font->Show fonts menu, bold font works without problem. I'm getting the

Re: How do I open a file from the Terminal into MacVim's current window?

2010-03-26 Thread Andrew Stewart
On 26 Mar 2010, at 16:08, björn wrote: MacVim works like this: each window runs its own Vim process. Opening a file from Finder results in the MacVim app getting a request to open a file (mvim:// handler requests also end up here). At this point MacVim will look at your preferences and respect

Re: How do I open a file from the Terminal into MacVim's current window?

2010-03-26 Thread björn
On 25 March 2010 18:47, Andrew Stewart wrote: > > So to summarise, given a MacVim instance in the background, and focus in the > Terminal: > > * `open -a MacVim.app filename1` will open filename1 in the existing MacVim > window. > * `mvim filename1` will open filename1 in a new MacVim window. > > P

Re: Interacting with a Ruby program

2010-03-26 Thread Andrew Stewart
On 25 Mar 2010, at 10:45, Chris Eidhof wrote: I'm not sure if it helps, but you could do it the other way around. MacVim implements the client part of the ODB editor suite [1]. So you could have a MacRuby program that implements the server part and then call MacVim. Alternatively, it shou

Re: Interacting with a Ruby program

2010-03-26 Thread Andrew Stewart
On 25 Mar 2010, at 18:10, Peter Palmreuther wrote: I don't know about OS X < 10.6, but over here 'man open' gives [...] -W Causes open to wait until the applications it opens (or that were already open) have exited. [...] And 'open -a MacVim -W file.txt' in fact gives focus to run