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

2010-03-24 Thread Andrew Stewart
I have set the MacVim preference Open files from applications to in the current window and set the arglist.  This give the behaviour I want when double-clicking in the Finder -- but doesn't for the Terminal. Aha: making use of the above, I can get the result I want. In the Terminal: $

Re: Interacting with a Ruby program

2010-03-25 Thread Andrew Stewart
On 24 Mar 2010, at 21:32, björn wrote: To open some other GUI program you could use (from within MacVim): :!open -a ProgramName filename Thank you, that's perfect. Maybe that's enough for your needs. As far as I know there is no universal way on Mac OS X to wait for a GUI app to finish

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

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

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

Re: Need help with html plugins etc.

2010-05-17 Thread Andrew Stewart
Hello, On 16 May 2010, at 17:10, David Reed wrote: I want to start writing html more efficiently but am having problems understanding how to get started. I see that Mac comes with a vim package already installed with many plugins. Under ftplugin I see html.vim and I have tried to decipher

Re: FuzzyFinder both works and don't

2010-06-19 Thread Andrew Stewart
On Oct 19 2009, 8:24 am, Wraul mathias@gmail.com wrote: I have installed the latest version (3.3) of the plugin FuzzyFinderhttp://www.vim.org/scripts/script.php?script_id=1984 This may not help you much...but fuzzyfinder_textmate, which is built on top of FuzzyFinder, was never able to

Re: Open file in new window via mvim

2011-05-12 Thread Andrew Stewart
On 11 May 2011, at 12:20, Tor Nordam wrote: I'm looking for a way to get mvim to open a file in a new window, or bring the open window forward without complaining if it happens to be open already. Similar to the --remote-tab-silent option, only with window instead of tab. Is that possible?

Re: Feature Request: Navigation Sidebar

2011-05-19 Thread Andrew Stewart
On 18 May 2011, at 21:09, björn wrote: Something is in the works [1]. I'm only somewhat involved in this at the moment, but hopefully I'll get some time during the summer to work on MacVim at which time I'll start thinking about file browsers properly. (No, it won't be hosted in a drawer

Re: Plugin/addon managers

2011-07-11 Thread Andrew Stewart
On 9 Jul 2011, at 18:17, Eric Weir wrote: I now have a few Vim plugins installed. I assume there will be more, if not many more, coming down the path. Back when I was just getting started with Vim a couple months or so ago I had a brief flirtation with Pathogen. Thought I would get set up

Re: System wide Inline Ruby.

2011-08-19 Thread Andrew Stewart
On 18 Aug 2011, at 22:34, Wilhelm wrote: Not sure if that's the right place to post it acutally... I've created a small open source tool that might come handy for ruby devs that use MacVim. You can check it out out at http://cziko.github.com/yoke . Let me know what do you think. Very nice.

How to stop scrolling when splitting windows?

2011-08-23 Thread Andrew Stewart
Hello, When I have a tall Vim window open on a small file, and I split the window in two, the view onto the file scrolls a little even though there is plenty of room for the file in the newly-split window. The scrolling doesn't happen when my cursor is on the first line of the file. How can

Re: Manipulate selected text

2011-09-30 Thread Andrew Stewart
On Sep 29, 4:07 pm, bterkuile bterku...@gmail.com wrote: I am now trying macvim and something is not working anymore. A normal operation for me is to select text and do a search and replace on this. My actions for this are: 1. Select text 2. type:     :s/foo/bar/g (Or any of all the other

Re: Hack for centering text horizontally in fullscreen mode?

2011-10-24 Thread Andrew Stewart
On 22 Oct 2011, at 19:53, Russ McBride wrote:Vimscript is almost enough to make me switch over to emacs or use one of the vi modes for emacs like viper or evil… butthat's a different topic….Yes, it's suboptimal to say the least. However you can mitigate the pain by scripting Vim in Ruby, Python,

Re: ack.vim problem

2012-03-07 Thread Andrew Stewart
On 7 Mar 2012, at 09:44, Barrie Stott wrote: I downloaded and installed ack.vim and consistently get messages like the following from MacVim. For example, when trying to use it to find occurrences of the word 'Mail' in the current directory by typing ':Ack mail': E492: Not an editor

Re: ack.vim problem

2012-03-07 Thread Andrew Stewart
On 7 Mar 2012, at 09:55, Barrie Stott wrote: I installed the code in ~/.vim/plugin and documentation in ~/.vim/doc. It came as a .tar.gz file so all I had to do was move it to ~/.vim and use 'tar zxvf ack.tar.gz from that directory. Hmm, that's where my ack.vim is installed and ':Ack mail'

Re: instructions for installing macvim

2012-03-21 Thread Andrew Stewart
On 20 Mar 2012, at 18:21, Darcy wrote: vim='mvim -v' How does the -v flag work? I can't find it documented in Starting MacVim and it's not used in the `mvim` script. Thanks in advance, Andy Stewart http://airbladesoftware.com -- You received this message from the vim_mac maillist. Do

Re: instructions for installing macvim

2012-03-21 Thread Andrew Stewart
On 21 Mar 2012, at 10:29, Phil Dobbin wrote: On 21/03/2012 08:48, Andrew Stewart wrote: On 20 Mar 2012, at 18:21, Darcy wrote: vim='mvim -v' How does the -v flag work? I can't find it documented in Starting MacVim and it's not used in the `mvim` script. It aliases console Vim to GUI

Re: instructions for installing macvim

2012-03-21 Thread Andrew Stewart
On 21 Mar 2012, at 10:51, Phil Dobbin wrote: See :help -v Oh, right. Thanks! Cheers, Andy 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

Re: cannot allocate color errors in terminal

2012-11-28 Thread Andrew Stewart
On 27 Nov 2012, at 20:32, Chris Lott wrote: **Problem** I am trying to use Vim as the git core.editor -- no matter what I do, I get cannot allocate color messages. I've tried setting the git core.editor (using --replace-all) to vim, mvim, vim -U NONE -u NONE, mvim -u NONE -U NONE, etc.

Re: Can we have a File Drawer, please?

2013-01-16 Thread Andrew Stewart
On 15 Jan 2013, at 15:54, Bradford Smith wrote: It would be so lovely for MacVim to have a working file drawer. I disagree: I don't want a working file drawer. Also MacVim is Vim and Vim doesn't have a built-in file drawer so MacVim shouldn't either. Just my opinion... Yours, Andrew Stewart

Re: terminal command to open multiple files in a vim split screen instance

2013-07-08 Thread Andrew Stewart
On 7 Jul 2013, at 21:14, Johann Bestowrous johann.bestowr...@gmail.com wrote: I was wondering if there was a terminal command that would let me open a set of files in a split screen with MacVim. I let my lazy imagination run wild on Sundays and accomplishing this would give my inner sloth

Re: Open macvim through terminal

2014-11-22 Thread Andrew Stewart
On 22 Nov 2014, at 06:04, Paul Wallace paulrw...@gmail.com wrote: The problem is that I'm not sure how to open macvim through terminal. I've put macvim into my applications folder but I still can't open macvim with the mvim or macvim commands in terminal. Would it have something to do with

New snapshot?

2014-12-03 Thread Andrew Stewart
Hello! Snapshot 73 was released on 21st April. I was wondering whether there might be a new snapshot soon? (I'm interested in Mountain Lion ones.) Alternatively, in the absence of an official snapshot, is there a documented process anywhere for building a new snapshot oneself? Many thanks,

Re: New snapshot?

2014-12-04 Thread Andrew Stewart
On 4 Dec 2014, at 07:08, Limin Tang limint...@gmail.com wrote: Use the following link to get latest source from repository and build by yourself: https://code.google.com/p/macvim/wiki/Building Thank you. However the MacVim repo hasn't been updated since 2nd November and is hovering at

Re: Update Vim to 7.4.516 and fix black bars on the top and bottom of Vim window in native full screen mode on Yosemite

2014-12-05 Thread Andrew Stewart
On 5 Dec 2014, at 03:04, Limin Tang limint...@gmail.com wrote: Patching to src/testdir/test_listlbr_utf8.ok failed on Homebrew. You can take a look of src/testdir/test_listlbr_utf8.ok.rej to see why the patch is rejected. Thanks for the response but you're just restating my post. Anyway

Re: Different Option-Key Combination in MacVim and Other Applications

2014-12-17 Thread Andrew Stewart
On Monday, December 15, 2014 6:39:42 AM UTC-8, Yongwei Wu wrote: To my surprise, I have found the option key behave differently in my MacVim 73 and outside MacVim. In MacVim (with or without -u NONE): Option-Q: ñ Option-W: ÷ Option-A: á Option-Z: ú Option-[: Û Option-]: Ý Outside

Re: MacVim nearly 200 patches behind Vim

2015-01-19 Thread Andrew Stewart
the MacVim repo. I've been meaning to post the steps but haven't got round to it yet... 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

Re: MacVim maintenance

2015-01-26 Thread Andrew Stewart
be able to find that time so I'm going to have to step down as maintainer of MacVim. Thank you very much Björn for all your work on MacVim and the mailing list. I use MacVim practically all day every day and I am most grateful. Yours, Andrew Stewart -- -- You received this message from

Re: MacVim maintenance

2015-03-26 Thread Andrew Stewart
On 26 Mar 2015, at 00:30, Charles m...@forallx.net wrote: I don't know any C, or anything about Vim's code, but if there's a way I can help keep on top of things, please let me know. Perhaps if there's a section on the wiki that explains which sections of the code are free of Vim/MacVim

Re: Grep search replace escaping question

2018-08-15 Thread Andrew Stewart
> But it is looking more complicate your "magic"! Two escapes more! As far as I know the idea is that "very magic" is typical regex syntax, whereas "magic" is something invented for Vim so that patterns which match code require less escaping. -- -- You received this message from the

Re: Grep search replace escaping question

2018-08-15 Thread Andrew Stewart
> @Andrew > > What I have to escape in a nagative construct like > > {([^}]+)} > Just replace the \w with [^}] So with default "magic": {\([^}]\+\)} With "very magic": \{([^}]+)\} Yours, Andrew Stewart -- -- You received this message from the &qu

Re: Grep search replace escaping question

2018-08-15 Thread Andrew Stewart
%s@\\textcolor{LRed}{\(\w\+\)}@\1@g Or this, which specifies a "very magic" pattern: %s@\v\\textcolor\{LRed\}\{(\w+)\}@\1@g Yours, Andrew Stewart -- -- You received this message from the "vim_mac" maillist. Do not top-post! Type your reply below the text you are replyin

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 no