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 13193 - 13222 of 13685   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#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

#13216 From: xlarsx <xlarsx@...>
Date: Mon May 7, 2012 1:13 am
Subject: iOS Vim
xlarsx@...
Send Email Send Email
 
Good day,
I'd like to propouse the iOS implementation of vim to be part of the
download web page:

http://applidium.com/en/applications/vim/

Greetings and thank you

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

#13217 From: Stephen Rasku <srasku@...>
Date: Mon May 7, 2012 9:02 pm
Subject: Diff Highlighting Reversed
srasku@...
Send Email Send Email
 
I am using MacVim 7.3.  I have the following as the last two lines in my ~/.vimrc:

hi DiffText guibg=DeepSkyBlue
hi DiffChange guibg=Gold

However, when I look at the highlight settings using ":hi", I get:

DiffChange     xxx term=bold ctermbg=13 guibg=DeepSkyBlue
...
DiffText       xxx term=reverse cterm=bold ctermbg=12 guibg=Gold

Why isn't it listening to what I set in .vimrc?

...Stephen

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

#13218 From: Kelan Champagne <kelan-list@...>
Date: Thu May 10, 2012 5:34 am
Subject: Re: Launching an already open file
kelan-list@...
Send Email Send Email
 
On Nov 3 2010, 11:19 am, björn <bjorn.winck...@...> wrote:
> Finally, if you have a specific MacVim window that you wish to open a file in
> then you should use the --servername and --remote family of arguments to the
> "mvim" script, e.g.
>
> mvim --servername VIM --remote-silent filename

Related to this, I just discovered that you can bring that existing window
forward, if you know its servername.  Just do:

  $ mvim --servername VIM --remote-expr "foreground()"

This is useful if you want to avoid the warnings about the swap file already
existing when you try to re-open the file, and would rather just bring that
window to the front.

-Kelan

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

#13219 From: Alex <alejandro.marco.ramos@...>
Date: Sat May 12, 2012 12:47 pm
Subject: problem with indent
alejandro.marco.ramos@...
Send Email Send Email
 
Hello, i have a problem with vim. In my .vimrc file i wrote this for
automatic indentation of python files

filetype indent on
filetype plugin on

This not work, any help?

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

#13220 From: Phil Dobbin <phildobbin@...>
Date: Sat May 12, 2012 11:14 pm
Subject: Re: problem with indent
phildobbin@...
Send Email Send Email
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/05/2012 13:47, Alex wrote:

> Hello, i have a problem with vim. In my .vimrc file i wrote this for
> automatic indentation of python files
>
> filetype indent on
> filetype plugin on
>
> This not work, any help?

try:

`filetype plugin indent on`

without the backticks.

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/

iQEcBAEBAgAGBQJPru7hAAoJEKpMeDHWT5ADc+4H/ik5L5XrDWaF/EFipVB8uM8O
J42J64eAJA3v6LFDfyTS51sj76AgBlSuFcFXFrji7cN9hCGWr5GE48O9xTFSmvm7
SlenXr6dj3Oyo5tWvmw5r2CNGzjBoMoP9DvCpREPC6IMtOXmWntQq9IePZUeU1o2
73Fb/sfFdcrU9LM+wEo8Ehfzf6lih+FzPPucIVDxjGk34ciVu05QB/wOp4g2eSdv
r82v3cwO70SdzNrHpH1/knhf3+29XJUpUu4h0+/cmqeOBaLxrdHG6k1xXGRbrQCD
1pQIw5wEiE80FqxeKgCoEukHw/XnFnUJ3OeTkb9K9VhyL7FqXtpxpHpVpbhE7lw=
=gCW5
-----END PGP SIGNATURE-----

#13221 From: Alex Lovell-Troy <farmking@...>
Date: Wed May 16, 2012 7:10 pm
Subject: Can someone MacVim something on Snow Leopard for me?
farmking@...
Send Email Send Email
 
Hi all,
  For the time being, I'm handling the snow leopard builds of MacVim
from my github account[1].  Björn got a report[2] of that build having
problems with python path issues and asked me to look in to it.  I'm
away from my Snow Leopard computer for a few days so I'm hoping
someone else on the list can try to confirm this for me.  Anyone?  I'm
just looking for the python path info from within MacVim:
python << ENDPYTHON
import sys
print sys.path
ENDPYTHON

Many thanks!

-alex

[1]https://github.com/alexlovelltroy/macvim/downloads
[2]http://code.google.com/p/macvim/issues/detail?id=413

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

#13222 From: Cássio Marques <cassiommc@...>
Date: Wed May 16, 2012 7:13 pm
Subject: Re: Can someone MacVim something on Snow Leopard for me?
cassiommc@...
Send Email Send Email
 
Hi,

Here's what I got:

['/usr/local/lib/python26.zip', '/usr/local/lib/python2.6/', '/usr/local/lib/python2.6/plat-darwin', '/usr/local/lib/python2.6/plat-mac', '/usr/local/lib/python2.6/plat-mac/lib-scriptpackages', '/usr/local/lib/python2.6/../../Extras/lib/python', '/usr/local/lib/python2.6/lib-t
k', '/usr/local/lib/python2.6/lib-old', '/usr/local/lib/python2.6/lib-dynload'] 

Running MacVim snapshot 64 on SL.

-- 
Cássio Marques

On Wednesday, May 16, 2012 at 4:10 PM, Alex Lovell-Troy wrote:

Hi all,
  For the time being, I'm handling the snow leopard builds of MacVim
from my github account[1]. Björn got a report[2] of that build having
problems with python path issues and asked me to look in to it. I'm
away from my Snow Leopard computer for a few days so I'm hoping
someone else on the list can try to confirm this for me. Anyone? I'm
just looking for the python path info from within MacVim:
python << ENDPYTHON
import sys
print sys.path
ENDPYTHON

Many thanks!

-alex


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

Messages 13193 - 13222 of 13685   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