Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

vim-mac · Vim (Vi IMproved) text editor Macintosh list

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 13186 - 13215 of 13767   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#13186 From: Jeff Chasin <jeff@...>
Date: Thu Mar 29, 2012 10:52 pm
Subject: Local help file problem - works in Terminal Vim, not in MacVim
jeff@...
Send Email Send Email
 
I created a local help file, myvimnotes.txt. In that file, the Tags appear and
function correctly in Terminal Vim. I can see the pipe characters around the
"links" and the asterisks around the "targets" in both MacVim & Terminal vim.
Ctrl-] works perfectly in Terminal Vim, doesn't work at all in MacVim.

Jumping tags with Ctrl-] in Terminal Vim works fine, but in MacVim, nada. I get
"E426: tag not found" on the status line when trying to Ctrl-].

I ran :set in both Terminal & MacVim and there aren't any settings that are
raising red flags - basically the same in both.  I ran :helptags, checked file
format and permissions, and I cannot figure this one out. Checked :help
write-local-help, :help add-local-help, and didn't see anything "helpful".

Not sure why MacVim isn't recognizing the tags or tag file but Terminal Vim is
with no problem. Any suggestions from the group would really be appreciated.
Thanks.

Specs:
OS X Lion 10.7.3
MacVim 7.3-64 installed w/ Home Brew
Janus Vim distro: https://github.com/carlhuda/janus

--
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

#13187 From: björn <bjorn.winckler@...>
Date: Sat Mar 31, 2012 1:37 pm
Subject: Re: Local help file problem - works in Terminal Vim, not in MacVim
bjorn.winckler@...
Send Email Send Email
 
On Fri, Mar 30, 2012 at 12:52 AM, Jeff Chasin wrote:
> I created a local help file, myvimnotes.txt. In that file, the Tags appear and
function correctly in Terminal Vim. I can see the pipe characters around the
"links" and the asterisks around the "targets" in both MacVim & Terminal vim.
Ctrl-] works perfectly in Terminal Vim, doesn't work at all in MacVim.
>
> Jumping tags with Ctrl-] in Terminal Vim works fine, but in MacVim, nada. I
get "E426: tag not found" on the status line when trying to Ctrl-].
>
> I ran :set in both Terminal & MacVim and there aren't any settings that are
raising red flags - basically the same in both.  I ran :helptags, checked file
format and permissions, and I cannot figure this one out. Checked :help
write-local-help, :help add-local-help, and didn't see anything "helpful".
>
> Not sure why MacVim isn't recognizing the tags or tag file but Terminal Vim is
with no problem. Any suggestions from the group would really be appreciated.
Thanks.

Apart from the usual "check that your plugins isn't interfering" [1]
answer all I can think is that something has changed in Vim (the
version that ships with MacVim is much more recent than the one that
ships with OS X).

Can you reproduce the problem if you use the "Vim" binary that ships
with MacVim without the GUI?  To start it either type "mvim -v" or (if
you don't have the mvim script)

/Applications/MacVim.app/Contents/MacOS/Vim

If this version doesn't work, then the problem is with core Vim in
which case I would ask that you please report to the vim_dev Google
group instead.

Björn

[1] https://github.com/b4winckler/macvim/wiki/Troubleshooting

--
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

#13188 From: björn <bjorn.winckler@...>
Date: Sat Mar 31, 2012 1:40 pm
Subject: Re: "nmap"ing not accepted
bjorn.winckler@...
Send Email Send Email
 
On Sun, Mar 25, 2012 at 10:32 PM, Axel wrote:
> W/o any RCs, nmapping gA to some command (e.g.) results in a beep where
:normal gA
> works as expected.
>
> Any clues?
>
> Sample:
>
> nnoremap gA :echo SynInfo(line("."), col("."))<CR>

I can remap gA without any problems (I tried ':nnoremap gA :echo
"hi"<CR>') which makes me think one of your plugins or rc-files are
interfering.  Try going through [1] to figure out where the problem
is.

Björn

[1] https://github.com/b4winckler/macvim/wiki/Troubleshooting

--
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

#13189 From: Phillip Kessels <phillipkessels@...>
Date: Sun Apr 1, 2012 11:29 am
Subject: Javacomplete not working
phillipkessels@...
Send Email Send Email
 
Hi,

i recently tried to install javacomplete for vim.

I followed the installation instructions and added the lines to .vimrc as
stated.


My problem is: Whenever I type <C-x><C-o> I get:
""*.java" [New File]
Cannot open file "*.java"
Press ENTER or type command to continue
Error detected while processing function
javacomplete#Complete..<SNR>28_CompleteAfterWord:
line   57:
E480: No match:
\s*\<\C\(\%(\%(public\|protected\|private\|abstract\|static\|final\|strictfp\)\s\
\+\)*\)\(class\|interface\|enum\)[ \t\n\r^L]\+\([a-zA-Z_$][a-zA-Z0-9_$]*\)[<
\t\n\r^L]".

What is going on there? I already checked that Reflection.class is generated (it
is and is in ~), thus Reflection.java was in ~/.vim/autoload/ (likewise was
javacomplete.vim and java_parser.vim).

I'm on Mac OS 10.7 with vim 7.3.

Thanks in advance,

Phillip

--
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

#13190 From: Bee <beeyawned@...>
Date: Mon Apr 2, 2012 5:55 am
Subject: How to prevent plugins loading in MacVim like vim -u NONE
beeyawned@...
Send Email Send Email
 
After MacVim is open, is it possible to prevent plugins from effecting
the opening of a file?

I know I can do this in terminal vim:
vim -u NONE

--
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

#13191 From: björn <bjorn.winckler@...>
Date: Mon Apr 2, 2012 7:12 am
Subject: Re: How to prevent plugins loading in MacVim like vim -u NONE
bjorn.winckler@...
Send Email Send Email
 
On Mon, Apr 2, 2012 at 7:55 AM, Bee wrote:
> After MacVim is open, is it possible to prevent plugins from effecting
> the opening of a file?
>
> I know I can do this in terminal vim:
> vim -u NONE

If you have the "mvim" script installed (it comes bundled with MacVim,
put somewhere in your path), then you can do

mvim -u NONE

Otherwise, try

/Applications/MacVim.app/Contents/MacOS/Vim -g -u NONE

Björn

--
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

#13192 From: Billy Huang <billbox13@...>
Date: Mon Apr 2, 2012 8:41 am
Subject: Re: How to prevent plugins loading in MacVim like vim -u NONE
billbox13@...
Send Email Send Email
 

i think what he ment is how to unload all the plugins within the app command.

im looking for this too

On Apr 2, 2012 5:12 PM, "björn" <bjorn.winckler@...> wrote:
On Mon, Apr 2, 2012 at 7:55 AM, Bee wrote:
> After MacVim is open, is it possible to prevent plugins from effecting
> the opening of a file?
>
> I know I can do this in terminal vim:
> vim -u NONE

If you have the "mvim" script installed (it comes bundled with MacVim,
put somewhere in your path), then you can do

mvim -u NONE

Otherwise, try

/Applications/MacVim.app/Contents/MacOS/Vim -g -u NONE

Björn

--
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 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

#13193 From: grayghostvisuals <grayghostvisuals@...>
Date: Thu Apr 5, 2012 9:07 pm
Subject: Code Formatting
grayghostvisuals@...
Send Email Send Email
 
New to MacVim and looking to format code similar to to other code
editors such as e for windows, Komodo, Dreamweaver etc.

I would like to open an HTML file for example, and indent the entire
document if I desire or individual lines in order to clean up messy
code

Thanks :)

--
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

#13194 From: Niels Kobschätzki <niels@...>
Date: Fri Apr 6, 2012 7:31 am
Subject: Re: Code Formatting
niels@...
Send Email Send Email
 
On Thursday, 5. April 2012 at 23:07, grayghostvisuals wrote:
New to MacVim and looking to format code similar to to other code
editors such as e for windows, Komodo, Dreamweaver etc.

I would like to open an HTML file for example, and indent the entire
document if I desire or individual lines in order to clean up messy
code
Try: :set filetype=html (if not recognized)
Then highlight your text and hit "=" (w/out ") -- via http://stackoverflow.com/questions/459478/correct-indentation-of-html-and-php-using-vim

"G=" might work as well 

Niels 


--
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

#13195 From: Roman Snitko <roman.snitko@...>
Date: Sun Apr 8, 2012 8:39 am
Subject: Tabs at the top (safari like) instead of panel on the right, how?
roman.snitko@...
Send Email Send Email
 
I just downloaded a new version of MacVim and it seems like there's a
major change: tabs are now shown in the panel on the right side. How
do I switch back to the safari-like view, when tabs are shown at the
top of the window?

--
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

#13196 From: björn <bjorn.winckler@...>
Date: Sun Apr 8, 2012 7:34 pm
Subject: Re: Tabs at the top (safari like) instead of panel on the right, how?
bjorn.winckler@...
Send Email Send Email
 
On Sun, Apr 8, 2012 at 10:39 AM, Roman Snitko wrote:
> I just downloaded a new version of MacVim and it seems like there's a
> major change: tabs are now shown in the panel on the right side. How
> do I switch back to the safari-like view, when tabs are shown at the
> top of the window?

It sounds to me like you've accidentally downloaded the *very
outdated* Carbon port of gvim.  Go to

http://code.google.com/p/macvim/

and download the latest snapshot of MacVim.app.

Björn

--
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

#13197 From: "Niels Kobschätzki" <niels@...>
Date: Tue Apr 10, 2012 7:43 pm
Subject: Hiding the permanent scrollbars?
niels@...
Send Email Send Email
 
Hi,

in Lion scrollbars are hidden and appear only when one actually scrolls
with the mouse. In MacVim they are always shown. Is there a way to hide
the permanent scrollbars?

Niels

--
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

#13198 From: björn <bjorn.winckler@...>
Date: Tue Apr 10, 2012 7:53 pm
Subject: Re: Hiding the permanent scrollbars?
bjorn.winckler@...
Send Email Send Email
 
On Tue, Apr 10, 2012 at 9:43 PM, Niels Kobschätzki wrote:
>
> in Lion scrollbars are hidden and appear only when one actually scrolls with
> the mouse. In MacVim they are always shown. Is there a way to hide the
> permanent scrollbars?

There is no way to get Lion style scrollbars (I have commented on why
in the past, if you are interested).

However, you can hide them permanently (and this is what I do
personally).  Just add the following lines your ~/.gvimrc:

set go-=r
set go-=L

While you're at it, you may also wish to hide the toolbar to get more
space for text:

set go-=T

For more information, see ":h 'go".

Björn

--
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

#13199 From: "Niels Kobschätzki" <niels@...>
Date: Wed Apr 11, 2012 4:39 am
Subject: Re: Hiding the permanent scrollbars?
niels@...
Send Email Send Email
 
On 10 Apr 2012, at 21:53, björn wrote:

> On Tue, Apr 10, 2012 at 9:43 PM, Niels Kobschätzki wrote:
>>
>> in Lion scrollbars are hidden and appear only when one actually
>> scrolls with
>> the mouse. In MacVim they are always shown. Is there a way to hide
>> the
>> permanent scrollbars?
>
> There is no way to get Lion style scrollbars (I have commented on why
> in the past, if you are interested).

where, some blog or in the depths of the mailing list-archive?

>
> However, you can hide them permanently (and this is what I do
> personally).  Just add the following lines your ~/.gvimrc:
>
> set go-=r
> set go-=L

Thanks :)

Niels

--
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

#13200 From: David Whitmarsh <dwhitmarsh@...>
Date: Wed Apr 11, 2012 10:58 am
Subject: Re: Hiding the permanent scrollbars?
dwhitmarsh@...
Send Email Send Email
 
2012/4/10 Niels Kobschätzki <niels@...>:
> On 10 Apr 2012, at 21:53, björn wrote:
>> There is no way to get Lion style scrollbars (I have commented on why
>> in the past, if you are interested).
>
>
> where, some blog or in the depths of the mailing list-archive?

On 2012 JAN 29
http://groups.google.com/group/vim_mac/browse_thread/thread/c758da3de1fabd14/5b0\
f25fd3e2f6d33?lnk=gst&q=lion#5b0f25fd3e2f6d33

On 2011 SEPT 01
http://groups.google.com/group/vim_mac/browse_thread/thread/c2617e9afa0a3fce/d35\
c24670c3916e6?lnk=gst&q=lion#d35c24670c3916e6

--
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

#13201 From: "Niels Kobschätzki" <niels@...>
Date: Wed Apr 11, 2012 5:37 pm
Subject: Re: Hiding the permanent scrollbars?
niels@...
Send Email Send Email
 
On 11 Apr 2012, at 12:58, David Whitmarsh wrote:

> 2012/4/10 Niels Kobschätzki <niels@...>:
>> On 10 Apr 2012, at 21:53, björn wrote:
>>> There is no way to get Lion style scrollbars (I have commented on
>>> why
>>> in the past, if you are interested).
>>
>>
>> where, some blog or in the depths of the mailing list-archive?
>
> On 2012 JAN 29
>
http://groups.google.com/group/vim_mac/browse_thread/thread/c758da3de1fabd14/5b0\
f25fd3e2f6d33?lnk=gst&q=lion#5b0f25fd3e2f6d33
>
> On 2011 SEPT 01
>
http://groups.google.com/group/vim_mac/browse_thread/thread/c2617e9afa0a3fce/d35\
c24670c3916e6?lnk=gst&q=lion#d35c24670c3916e6

Thanks a lot :)

Niels

--
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

#13202 From: "Niels Kobschätzki" <niels@...>
Date: Fri Apr 13, 2012 7:42 am
Subject: Updating the used vim-version?
niels@...
Send Email Send Email
 
Hi,

is there a way to update the vim-version MacVim uses?
The latest snapshot uses 7.3.390 but the current version is 7.3.495.

Niels

--
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

#13203 From: Matthew Brett <matthew.brett@...>
Date: Fri Apr 13, 2012 7:07 pm
Subject: Re: Has anyone successfully built MacVim under Homebrew with Python/Ruby support using *homebrew's Python and Ruby packages*?
matthew.brett@...
Send Email Send Email
 
On Monday, March 26, 2012 11:56:26 AM UTC-7, Chris Patti wrote:
> I'd decided to try out VimRePress for my blogging needs, so I went
> through the usual install process with my stock MacVim under Homebrew
> and *kaboom*! I get errors about shared modules (I don't have the
> exact errors because I found a solution - but not an ideal one).
>
> So, I found Paulo Poiati's excellent blog post here:
>
http://blog.paulopoiati.com/2012/02/07/installing-vimrepress-in-macvim-osx-lion/
>
> on how to get things going, but you're stuck using the default
> versions of Python etc that come bundled with MacOS X.
>
> Quite honestly, this stinks, for a number of reasons, chief among them
> being that I don't like to have to run sudo to install random Python
> scripts, and also because I like to keep the stock Python, Ruby, etc
> stock, because various other things depend on them.  Also, I end up
> missing the more recent versions that Homebrew provides.
>
> So, has anyone managed to build MacVim under Homebrew with Python/Ruby
> support using the Homebrew supplied versions of these packages?

I just build MacVim to pick up the python.org python, with (current master=
bcc349c).  I have python.org 32 bit python 2.6 on OSX 10.6, which was built with
gcc 4.0, so the configure command was something like (sorry):

CC=gcc-4.0 CFLAGS="-arch i386" ./configure --with-features=huge \
               --enable-rubyinterp \
               --enable-pythoninterp=dynamic \
               --enable-perlinterp \
               --enable-cscope \

Obviously `which python` finds my python.org Python 2.6, so MacVIm appeared to
pick that up at build and run time.

I tried using the --with-python-config-dir=PATH option to pick up the python.org
python, and it compiled, but seemed to lose a large proportion of its path for
reasons I did not investigate much.

Best,

Matthew

--
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

#13204 From: John_108 <jglore@...>
Date: Fri Apr 13, 2012 4:27 pm
Subject: Re: "Edit in External Editor..." feature from the command line (or from mutt)
jglore@...
Send Email Send Email
 
This worked great for me:

>      set editor ="mvim -f"

except that after writing the file and closing MacVim, I had to switch back to
the terminal to get back to mutt.

In the current MacVim version 7.3.390 (and maybe for much longer) the solution
is found in "help: hints":

  mvim -f -c "au VimLeave * maca hide:

Works like a charm. When I start to compose in Mutt, MacVim opens, and when I
finish the focus returns to mutt automatically.

--
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

#13205 From: Matthew Brett <matthew.brett@...>
Date: Fri Apr 13, 2012 7:31 pm
Subject: Building with alternative python
matthew.brett@...
Send Email Send Email
 
Hi,

Just to report success building MacVim to pick up my 32 bit python.org Python
2.6, with:

CC=gcc-4.0 ./configure --with-macarchs=i386 --with-features=huge              
--enable-rubyinterp               --enable-pythoninterp=dynamic              
--enable-perlinterp               --enable-cscope

I tried the --with-python-config-dir=PATH option, and the build succeeded, but
the resulting python in vim failed to pick up large bits of the python path.

Best,

Matthew

--
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

#13206 From: björn <bjorn.winckler@...>
Date: Sun Apr 15, 2012 6:45 pm
Subject: Re: Updating the used vim-version?
bjorn.winckler@...
Send Email Send Email
 
On Fri, Apr 13, 2012 at 9:42 AM, Niels Kobschätzki wrote:
>
> is there a way to update the vim-version MacVim uses?
> The latest snapshot uses 7.3.390 but the current version is 7.3.495.

If you want the very bleeding edge you should build your own binary
[1].  Otherwise you will have to wait until I release a new snapshot.

Björn


[1] https://github.com/b4winckler/macvim/wiki/Building

--
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

#13207 From: "Niels Kobschätzki" <niels@...>
Date: Sun Apr 15, 2012 7:10 pm
Subject: Re: Updating the used vim-version?
niels@...
Send Email Send Email
 
On 15 Apr 2012, at 20:45, björn wrote:

> On Fri, Apr 13, 2012 at 9:42 AM, Niels Kobschätzki wrote:
>>
>> is there a way to update the vim-version MacVim uses?
>> The latest snapshot uses 7.3.390 but the current version is 7.3.495.
>
> If you want the very bleeding edge you should build your own binary
> [1].  Otherwise you will have to wait until I release a new snapshot.

Ok, thanks :)

Niels

--
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

#13208 From: Chris Patti <cpatti@...>
Date: Mon Apr 16, 2012 3:02 pm
Subject: Re: Has anyone successfully built MacVim under Homebrew with Python/Ruby support using *homebrew's Python and Ruby packages*?
cpatti@...
Send Email Send Email
 
On Fri, Apr 13, 2012 at 3:07 PM, Matthew Brett <matthew.brett@...> wrote:
> On Monday, March 26, 2012 11:56:26 AM UTC-7, Chris Patti wrote:
>> I'd decided to try out VimRePress for my blogging needs, so I went
>> through the usual install process with my stock MacVim under Homebrew
>> and *kaboom*! I get errors about shared modules (I don't have the
>> exact errors because I found a solution - but not an ideal one).
>>
>> So, I found Paulo Poiati's excellent blog post here:
>>
http://blog.paulopoiati.com/2012/02/07/installing-vimrepress-in-macvim-osx-lion/
>>
>> on how to get things going, but you're stuck using the default
>> versions of Python etc that come bundled with MacOS X.
>>
>> Quite honestly, this stinks, for a number of reasons, chief among them
>> being that I don't like to have to run sudo to install random Python
>> scripts, and also because I like to keep the stock Python, Ruby, etc
>> stock, because various other things depend on them.  Also, I end up
>> missing the more recent versions that Homebrew provides.
>>
>> So, has anyone managed to build MacVim under Homebrew with Python/Ruby
>> support using the Homebrew supplied versions of these packages?
>
> I just build MacVim to pick up the python.org python, with (current master=
bcc349c).  I have python.org 32 bit python 2.6 on OSX 10.6, which was built with
gcc 4.0, so the configure command was something like (sorry):
>
> CC=gcc-4.0 CFLAGS="-arch i386" ./configure --with-features=huge \
>              --enable-rubyinterp \
>              --enable-pythoninterp=dynamic \
>              --enable-perlinterp \
>              --enable-cscope \
>
> Obviously `which python` finds my python.org Python 2.6, so MacVIm appeared to
pick that up at build and run time.
>
> I tried using the --with-python-config-dir=PATH option to pick up the
python.org python, and it compiled, but seemed to lose a large proportion of its
path for reasons I did not investigate much.
>
> Best,
>
> Matthew
>


I think that's the issue.  Homebrew appears to be building a 64 bit Python etc.

I'll try exploring some of those config options and see if I can get
Homebrew to build its Python as 32 bit.

Thanks!
-Chris



--
Christopher Patti - Geek At Large | GTalk: cpatti@... | AIM:
chrisfeohpatti | P: (260) 54PATTI
"Technology challenges art, art inspires technology." - John Lasseter, Pixar

--
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

#13209 From: Phil Dobbin <phildobbin@...>
Date: Mon Apr 16, 2012 3:20 pm
Subject: Re: Has anyone successfully built MacVim under Homebrew with Python/Ruby support using *homebrew's Python and Ruby packages*?
phildobbin@...
Send Email Send Email
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16/04/2012 16:02, Chris Patti wrote:

> On Fri, Apr 13, 2012 at 3:07 PM, Matthew Brett <matthew.brett@...>
wrote:
>> On Monday, March 26, 2012 11:56:26 AM UTC-7, Chris Patti wrote:
>>> I'd decided to try out VimRePress for my blogging needs, so I went
>>> through the usual install process with my stock MacVim under Homebrew
>>> and *kaboom*! I get errors about shared modules (I don't have the
>>> exact errors because I found a solution - but not an ideal one).
>>>
>>> So, I found Paulo Poiati's excellent blog post here:
>>>
http://blog.paulopoiati.com/2012/02/07/installing-vimrepress-in-macvim-osx-lion/
>>>
>>> on how to get things going, but you're stuck using the default
>>> versions of Python etc that come bundled with MacOS X.
>>>
>>> Quite honestly, this stinks, for a number of reasons, chief among them
>>> being that I don't like to have to run sudo to install random Python
>>> scripts, and also because I like to keep the stock Python, Ruby, etc
>>> stock, because various other things depend on them.  Also, I end up
>>> missing the more recent versions that Homebrew provides.
>>>
>>> So, has anyone managed to build MacVim under Homebrew with Python/Ruby
>>> support using the Homebrew supplied versions of these packages?
>>
>> I just build MacVim to pick up the python.org python, with (current master=
bcc349c).  I have python.org 32 bit python 2.6 on OSX 10.6, which was built with
gcc 4.0, so the configure command was something like (sorry):
>>
>> CC=gcc-4.0 CFLAGS="-arch i386" ./configure --with-features=huge \
>>              --enable-rubyinterp \
>>              --enable-pythoninterp=dynamic \
>>              --enable-perlinterp \
>>              --enable-cscope \
>>
>> Obviously `which python` finds my python.org Python 2.6, so MacVIm appeared
to pick that up at build and run time.
>>
>> I tried using the --with-python-config-dir=PATH option to pick up the
python.org python, and it compiled, but seemed to lose a large proportion of its
path for reasons I did not investigate much.
>>
>> Best,
>>
>> Matthew
>>
>
>
> I think that's the issue.  Homebrew appears to be building a 64 bit Python
etc.
>
> I'll try exploring some of those config options and see if I can get
> Homebrew to build its Python as 32 bit.

I built my MacVim using rvm's Ruby & perlbrew's Perl. The version of
Python was supplied my Mac Ports:

`Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall
- -Wno-unknown-pragmas -pipe  -DMACOS_X_UNIX -no-cpp-precomp  -g -O2
- -D_FORTIFY_SOURCE=1
Linking: gcc   -L.  -bind_at_load -L.  -bind_at_load
- -L/usr/local/lib -o Vim -framework Cocoa -framework Carbon
- -lncurses  -framework Cocoa    -fstack-protector -L/u
sr/local/lib -L/opt/local/lib
-
-L/Users/dobbin/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/darwin-2level/CORE
- -lperl -lm -lutil -lc -framework Python   -lruby -lobjc  -L/Users
/dobbin/.rvm/rubies/ruby-1.8.7-p352/lib`

Python compiles pretty easily so your best bet may be to install it into
$HOME/bin, do the linking required & pass the appropriate flags to
MacVim. I think you could also ignore the OS X specific Framework for
python & just try a standard *nix install into ~/bin. I haven't tried it
but it should work (I use python nowadays via virtualenv).

Cheers,

   Phil...

- --
But masters, remember that I am an ass.
Though it be not written down,
yet forget not that I am an ass.

	 Wm. Shakespeare - Much Ado About Nothing


-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPjDi/AAoJEKpMeDHWT5ADaLcH/iONJPQeG3Xvw/4xEWSsvkly
hRh8aQDo/evCaX1bEKP3UHVROmc1K8aOiVBTo82mtetBRWDcsVFQXz02eeiD/tZM
5O+QA/qOwhnR0vvSD1DYyYsHyAIkFEpYtYISlXDAakqmvdIIuGWwTJtptO9Z92Yi
PIcnce6l0PV9HxUY1XtHLooYYtI4IIMd759YDAR7Xx92sqOGHloLb7fQf1Nqlr4T
DHQOIv7QXij+6ZKkyFTxml2yCTWBgt3mUc5fVl4VQIulEuAPXYa/dEFNzB/Rx0LY
dUB43WTwf/TlzlNMVeoGXnn0RtMAgttE9xOrgTBP18BjW5T17IU8DbApUBHgF24=
=IYpi
-----END PGP SIGNATURE-----

#13210 From: Yang <zhangyang324@...>
Date: Mon Apr 16, 2012 7:05 pm
Subject: Re: clewn macvim or vim on snow leopard
zhangyang324@...
Send Email Send Email
 
I confirm exactly the same problem on Lion. Could anyone provide an update?
Thanks a bunch!

On Saturday, January 28, 2012 3:33:36 AM UTC-5, Trent R wrote:
> I should mention that I am using snapsnot 64.  Furthermore, if I quit
> MacVim while clewn is running, clewn will report that it was
> disconnected by the editor, and terminate, so there must be some
> communication between MacVim and clewn.
>
> On Jan 27, 3:55 pm, Trent R <tr...@...> wrote:
> > Björn, thanks for your efforts towards getting clewn to work with
> > MacVim.  I am trying to do the same, but cannot get MacVim to output
> > anything from gdb.  As far as I can tell everything is installed
> > correctly (clewn works fine from the command line, and :h clewn works
> > in MacVim, for instance).  When I launch MacVim from the command line,
> > clewn happily reports 'NetBeans connected to 127.0.0.1:59897', but
> > nothing shows up in MacVim.  There is, however, a grey bar down the
> > left side of MacVim windows opened with the -nb option that is usually
> > not present.  I am new to gdb and clewn, so I may simply be doing
> > something foolish.  Any idea as to where I'm going wrong?

--
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

#13211 From: Yang <zhangyang324@...>
Date: Wed Apr 18, 2012 2:23 am
Subject: Re: clewn macvim or vim on snow leopard
zhangyang324@...
Send Email Send Email
 
It seems the problem is the gdb shipped with Mac.

On Monday, April 16, 2012 3:05:26 PM UTC-4, Yang wrote:
> I confirm exactly the same problem on Lion. Could anyone provide an update?
Thanks a bunch!
>
> On Saturday, January 28, 2012 3:33:36 AM UTC-5, Trent R wrote:
> > I should mention that I am using snapsnot 64.  Furthermore, if I quit
> > MacVim while clewn is running, clewn will report that it was
> > disconnected by the editor, and terminate, so there must be some
> > communication between MacVim and clewn.
> >
> > On Jan 27, 3:55 pm, Trent R <tr...@...> wrote:
> > > Björn, thanks for your efforts towards getting clewn to work with
> > > MacVim.  I am trying to do the same, but cannot get MacVim to output
> > > anything from gdb.  As far as I can tell everything is installed
> > > correctly (clewn works fine from the command line, and :h clewn works
> > > in MacVim, for instance).  When I launch MacVim from the command line,
> > > clewn happily reports 'NetBeans connected to 127.0.0.1:59897', but
> > > nothing shows up in MacVim.  There is, however, a grey bar down the
> > > left side of MacVim windows opened with the -nb option that is usually
> > > not present.  I am new to gdb and clewn, so I may simply be doing
> > > something foolish.  Any idea as to where I'm going wrong?

--
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

#13212 From: Srinath <srinath.vadlamani@...>
Date: Wed Apr 18, 2012 4:19 pm
Subject: request: add command line arg to launch with different background
srinath.vadlamani@...
Send Email Send Email
 
This is a request, but someone may show me how to modify the mvim
command so that if I do something like:
[]$ mvim -bgl
it starts macvim with light background
and
[]$mvim -bgd
it starts in dark.

Ofcourse I would only use the command line arg for my personal non-
default background.  I usually code with a dark background, but when
using a projector, we all know the greens and blues diffuse on a dark
background, so light is more usuable.  I do use the mavim colorscheme
( which is great for me).

Thanks for any input.
<>Srinath

--
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

#13213 From: Sylvain Soliman <Sylvain.Soliman@...>
Date: Wed Apr 18, 2012 4:24 pm
Subject: Re: request: add command line arg to launch with different background
Sylvain.Soliman@...
Send Email Send Email
 
* Srinath <srinath.vadlamani@...>:
> This is a request, but someone may show me how to modify the mvim
> command so that if I do something like:
> []$ mvim -bgl
> it starts macvim with light background
> and
> []$mvim -bgd
> it starts in dark.

Any reason why:
$ mvim -c 'set bg=light'

is not doing what you want?

         Sylvain

--
Sylvain Soliman <Sylvain.Soliman@...>   GnuPG Public Key: 0x0F53AF99
Page personnelle                   http://contraintes.inria.fr/~soliman/

#13214 From: Phil Dobbin <phildobbin@...>
Date: Wed Apr 18, 2012 4:30 pm
Subject: Re: request: add command line arg to launch with different background
phildobbin@...
Send Email Send Email
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 18/04/2012 17:19, Srinath wrote:

> This is a request, but someone may show me how to modify the mvim
> command so that if I do something like:
> []$ mvim -bgl
> it starts macvim with light background
> and
> []$mvim -bgd
> it starts in dark.
>
> Ofcourse I would only use the command line arg for my personal non-
> default background.  I usually code with a dark background, but when
> using a projector, we all know the greens and blues diffuse on a dark
> background, so light is more usuable.  I do use the mavim colorscheme
> ( which is great for me).

You could try something with the -c flag. See:

`:h -c`

Never tried it but it may work with `colorscheme`

Cheers,

   Phil..

- --
But masters, remember that I am an ass.
Though it be not written down,
yet forget not that I am an ass.

	 Wm. Shakespeare - Much Ado About Nothing


-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPjuw1AAoJEKpMeDHWT5ADzHwH/RdEvSpIpCn7lBlZYkeE5RhF
zQV7ZoSRAoSIO/9BipswsvR3bA9224ddnY+72RRfaQsVNNN07/AK07F4ZGJNy2yV
9lRRb/ZJC9H9eyuDLg+Ju87C2ItIhZ3PmGPVAgmCCcnrlRckZwj53cMxF6paWr43
SqMWVzxhTF2ZgqmBGUWcNPcrtIxc5kbNw3LIRYCRZ97skq63Jd6uAxholIemTKxx
3adUIa1OcvQ/POVGdjFAPZSUXcJC7g1ZKSmZUlRk9fgf2Cqx90kAGUj9Gb03DTcV
Jh+gzCEA2U9YbP1+UNGc9kbLhLUYu19F3SvBvfRSNvqd43spKNqNcAGoH9jh06g=
=5IcG
-----END PGP SIGNATURE-----

#13215 From: Srinath <srinath.vadlamani@...>
Date: Fri Apr 20, 2012 9:23 pm
Subject: weird behavior with .f90 and .F90 files
srinath.vadlamani@...
Send Email Send Email
 
I opened a file (foo.f90) with macvim that had the .f90 suffix.  Then,
I realized I wanted it preprocessed.  [No jokes about fortran ...
space shuttle quality stuff ... man]. So in terminal, I moved the file
over to be foo.F90.  Of course,  MacVim notifies me that the foo.f90
files does not exist any more.  So I ":q" that tab, and command-T for
a new tab.
Then I type ":e foo.F90" in the new tab, and the buffer appears blank,
with the file name listed as "foo.f90".  Back to the lower cased
suffix.  If I starte a new macvim session: $mvim foo.F90, it opens up
fine.  Any insight?  Some buffer voodoo?

Btw..thanks for all the help.

--
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

Messages 13186 - 13215 of 13767   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help