Re: Sierra disables "iab" abbreviations

2017-09-12 Thread Bee
On Thursday, July 20, 2017 at 9:31:36 PM UTC-7, Jacob Wegelin wrote:
> I manage 3 Mac computers. Two (named BNW and MLZ), I have upgraded recently 
> to macos Sierra.  One (named QQT) remains OS X El Capitan 10.11.6.
> 
> I constantly use vim on my computers. My .vimrc file contains nearly 13K 
> (13000) "iab" abbreviations.  The .vimrc is identical on all three machines.
> 
> I run vim in the bash shell, on the command line, not the gui (not gvim or 
> mvim).
> 
> Upgrading to Sierra caused vim to behave as follows:
> 
> After I have edited a file for a few minutes, my "iab" abbreviations are no 
> longer transformed automatically.
> 
> If I re-save the file, then the "iab" abbreviations are again auto-corrected, 
> or transformed, in real time.
> 
> This does not happen on QQT, under El Capitan, only under Sierra.
> 
> This leads me to think that under Sierra, something bad has happened to the 
> bash shell.
> 
> Has anyone noticed this behavior, or does anyone have a solution?
> 
> Thanks
> 
> Jacob Wegelin

are the iab errors consistent?

-- 
-- 
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: Snapshot 74 for OS X 10.10

2015-02-24 Thread Bee
On Monday, February 23, 2015 at 2:44:06 AM UTC-8, Douglas Drumond wrote:
> Sorry for the delay, finally I published a new snapshot of MacVim. You can 
> find snapshot 74 at 
> https://github.com/douglasdrumond/macvim/releases/tag/snapshot-74
> 
> Please let me know if you run into problems.
> 
> --
> Douglas Drumond

Thank you Douglas.

FWIW
I compiled the source from github on osx 10.5.8 PowerBook ppc g4 and it is 
working. Any thing you would like me to test?
-- Bill

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


linking gvim on the mac

2014-05-30 Thread Bee
I use the 'Download ZIP' button from:
https://github.com/b4winckler/macvim/

It compiles on my MacOSs 10.4.11 to 10.6.8

Then move the MacVim.app to /Applications/MacVim/

And add this to my .profile:

MACVIM="/Applications/MacVim/MacVim.app/Contents/MacOS";
if [ -e "$MACVIM" ]; then
  alias vim="$MACVIM/Vim ${@}";
  alias gvim="$MACVIM/Vim -g ${@}";
fi; export EDITOR=vim; alias e=vim;

-- 
-- 
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 copy into system clipboard

2013-11-20 Thread Bee
On Wednesday, November 20, 2013 12:43:22 AM UTC-8, LittleQ wrote:
> it should be ‘single quote’, so it’s  ‘<, ‘> not  `<, `>

I know '< works for lines, but my attempt to use `< is to select a character 
range.

:help `<
'< `<  To the first line or character of the last selected Visual area in the 
current buffer.

Is there a way to write the CHARACTER selection to stdout? for use by pbcopy

Bill

-- 
-- 
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/groups/opt_out.


Re: how to copy into system clipboard

2013-11-19 Thread Bee
:help `<
'< `<  To the first line or character of the last selected Visual area in the 
current buffer.

I tried:
:`<,`>w !pbcopy

But got this error:
E492: Not an editor command: `<,`>w !pbcopy

Is `<,`> not a valid range?

-- 
-- 
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/groups/opt_out.


Re: how to copy into system clipboard

2013-11-18 Thread Bee
> write your selected text to the command "!pbcopy",
> will put it on the system clipboard

How do you 'write' selected text to "!pbcopy"?

Bill

-- 
-- 
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/groups/opt_out.


how to copy into system clipboard

2013-11-16 Thread Bee
The OP said 'I am using iterm2 with the vim that comes with the Mac OS X 
system' 

To determine if that version of vim has access to the clipboard, type the 
following on the vim command line:

echo has("clipboard")

If it returned '0' then there is no clipboard support.

Bill

-- 
-- 
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/groups/opt_out.


MacVim for Mac OS X 10.3 Panther?

2013-11-04 Thread Bee
I compile the current macvim 7.4.xxx for a PowerBook G3 on Tiger 10.4.8 and it 
runs great.

If you would like a copy to see if it runs on Panther, please send me an 
address to email.

Bill

-- 
-- 
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/groups/opt_out.


Re: MacVim snapshot 72 for OS X 10.9

2013-10-25 Thread Bee
On Friday, October 25, 2013 11:23:02 AM UTC-7, björn wrote:
...
> Since I've upgraded my Mac to OS X 10.9 I will from now only be
> maintaining binaries for this version of OS X. If anybody wants
> to provide binaries for OS X 10.6 (which I used to build for)
> then please let me know. 
...
> Björn

I have compiled MacVim 72 from the master zip for:
10.6.8 intel 64bit
10.6.8 intel 32bit
10.4.11 ppc g3

They were compiled using:
./configure && make

Then MacVim.app compressed by Mac's zip

Which would you like?
Where and how to post?

Bill

-- 
-- 
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/groups/opt_out.


Re: Speeding up cold startup

2013-10-15 Thread Bee
On Monday, October 14, 2013 10:46:47 PM UTC-7, Kevin Burke wrote:
>Are there any tricks I can use to speed up Macvim's cold startup?

This is how I start MacVim GUI and terminal:

MACVIM="/Applications/MacVim/MacVim.app/Contents/MacOS/Vim";
if [ -e "$MACVIM" ]; then
  alias vim="$MACVIM ${@}";
  alias gvim="$MACVIM -g ${@}";
fi; export EDITOR=vim; alias e=vim;

Bill

-- 
-- 
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/groups/opt_out.


Re: Speeding up cold startup

2013-10-15 Thread Bee
On Monday, October 14, 2013 10:46:47 PM UTC-7, Kevin Burke wrote:
> Are there any tricks I can use to speed up Macvim's cold startup?

For comparison, this is MacVim starting on the old PowerBook G3,
starting in less than 2.7 seconds:

gvim --startuptime startingg.txt

times in msec
 clock   self+sourced   self:  sourced script
 clock   elapsed:  other lines

000.043  000.043: --- VIM STARTING ---
000.975  000.932: Allocated generic buffers
008.282  007.307: locale set
008.421  000.139: GUI prepared
008.452  000.031: clipboard setup
008.489  000.037: window checked
016.358  007.869: inits 1
016.457  000.099: parsing arguments
029.513  013.056: expanding arguments
106.935  077.422: shell init
107.840  000.905: inits 2
131.269  023.429: init highlight
138.398  001.533  001.533: sourcing $VIM/vimrc
154.815  001.003  001.003: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/syntax/nosyntax.vim
186.798  042.643  041.640: sourcing $HOME/.vimrc
186.916  011.471: sourcing vimrc file(s)
195.545  001.012  001.012: sourcing /Users/Bee/.vim/plugin/characterize.vim
198.923  000.540  000.540: sourcing /Users/Bee/.vim/plugin/explainpat.vim
205.311  001.974  001.974: sourcing /Users/Bee/.vim/plugin/plutil.vim
231.026  002.903  002.903: sourcing /Users/Bee/.vim/plugin/Rndm.vim
237.142  002.962  002.962: sourcing /Users/Bee/.vim/plugin/textutil.vim
304.995  061.540  061.540: sourcing /Users/Bee/.vim/plugin/zencoding.vim
326.012  001.193  001.193: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/getscriptPlugin.vim
337.844  002.511  002.511: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/gzip.vim
347.001  000.362  000.362: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/matchparen.vim
368.994  006.501  006.501: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/netrwPlugin.vim
383.486  001.002  001.002: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/rrhelper.vim
393.060  000.865  000.865: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/spellfile.vim
414.171  004.820  004.820: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/tarPlugin.vim
422.107  001.971  001.971: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/tohtml.vim
434.998  005.736  005.736: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/vimballPlugin.vim
452.251  003.379  003.379: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/zipPlugin.vim
453.312  167.125: loading plugins
453.390  000.078: inits 3
476.319  001.051  001.051: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/autoload/paste.vim
749.374  290.885  289.834: sourcing $VIMRUNTIME/menu.vim
793.630  005.903  005.903: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/syntax/syncolor.vim
795.589  016.237  010.334: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/syntax/synload.vim
800.067  000.958  000.958: sourcing /Users/Bee/.vim/filetype.vim
1096.401  020.091  020.091: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/menu.vim
1096.909  291.723  271.632: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/filetype.vim
1097.751  327.364  018.446: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/syntax/syntax.vim
1100.162  337.007  009.643: sourcing $VIM/gvimrc
1121.741  003.095  003.095: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/syntax/nosyntax.vim
1122.420  019.546  016.451: sourcing $HOME/.gvimrc
2544.237  1444.409: starting GUI
2554.106  009.869: reading viminfo
2662.202  108.096: GUI delay
2662.256  000.054: setting raw mode
2662.273  000.017: start termcap
2663.192  000.919: clearing screen
2665.439  002.247: opening buffers
2666.163  000.724: BufEnter autocommands
2666.188  000.025: editing files in windows
2668.729  002.541: VimEnter autocommands
2668.785  000.056: before starting main loop
2689.821  021.036: first screen update
2689.848  000.027: --- VIM STARTED ---

Bill

-- 
-- 
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/groups/opt_out.


Re: Speeding up cold startup

2013-10-15 Thread Bee
On Monday, October 14, 2013 10:46:47 PM UTC-7, Kevin Burke wrote:
>Are there any tricks I can use to speed up Macvim's cold startup?

On my old old old PowerBook G3 Pismo 500 MHz
MacVim 7.4.52, compiled from source, loads in 4 seconds !
Terminal vim, using the MacVim binary, loads in less that 0.4 seconds.

.vimrc 28K
.gvimrc 3K

Try this from terminal to see where yours is slow:

vim --startuptime starting.txt

times in msec
 clock   self+sourced   self:  sourced script
 clock   elapsed:  other lines

000.042  000.042: --- VIM STARTING ---
000.990  000.948: Allocated generic buffers
001.082  000.092: locale set
001.141  000.059: GUI prepared
001.168  000.027: clipboard setup
001.210  000.042: window checked
026.340  025.130: inits 1
026.469  000.129: parsing arguments
037.846  011.377: expanding arguments
081.732  043.886: shell init
086.122  004.390: Termcap init
086.849  000.727: inits 2
106.271  019.422: init highlight
113.162  001.874  001.874: sourcing $VIM/vimrc
127.923  000.889  000.889: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/syntax/nosyntax.vim
149.763  034.567  033.678: sourcing $HOME/.vimrc
149.864  007.152: sourcing vimrc file(s)
158.156  000.975  000.975: sourcing /Users/Bee/.vim/plugin/characterize.vim
162.342  000.605  000.605: sourcing /Users/Bee/.vim/plugin/explainpat.vim
168.033  002.050  002.050: sourcing /Users/Bee/.vim/plugin/plutil.vim
174.373  002.506  002.506: sourcing /Users/Bee/.vim/plugin/Rndm.vim
181.047  003.020  003.020: sourcing /Users/Bee/.vim/plugin/textutil.vim
216.751  031.838  031.838: sourcing /Users/Bee/.vim/plugin/zencoding.vim
231.009  001.575  001.575: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/getscriptPlugin.vim
239.216  002.374  002.374: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/gzip.vim
245.948  000.451  000.451: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/matchparen.vim
258.468  006.921  006.921: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/netrwPlugin.vim
265.784  000.883  000.883: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/rrhelper.vim
274.536  000.819  000.819: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/spellfile.vim
283.499  002.659  002.659: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/tarPlugin.vim
291.812  002.002  002.002: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/tohtml.vim
300.498  002.689  002.689: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/vimballPlugin.vim
309.815  003.092  003.092: sourcing 
/Applications/MacVim/MacVim.app/Contents/Resources/vim/runtime/plugin/zipPlugin.vim
310.752  096.429: loading plugins
310.831  000.079: inits 3
319.490  008.659: reading viminfo
319.640  000.150: setting raw mode
321.096  001.456: start termcap
324.123  003.027: clearing screen
324.893  000.770: opening buffers
325.459  000.566: BufEnter autocommands
325.481  000.022: editing files in windows
368.618  043.137: VimEnter autocommands
368.675  000.057: before starting main loop
397.002  028.327: first screen update
397.025  000.023: --- VIM STARTED ---

Bill

-- 
-- 
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/groups/opt_out.


Re: Speeding up cold startup

2013-10-15 Thread Bee

On Monday, October 14, 2013 10:46:47 PM UTC-7, Kevin Burke wrote:
>Are there any tricks I can use to speed up Macvim's cold startup?

On my old old old PowerBook G3 Pismo 500 MHz
MacVim 7.4.52, compiled from source, loads in 4 seconds !
Terminal vim, using the MacVim binary, loads in 1 second.

.vimrc 28K
.gvimrc 3K

Try this from terminal to see where yours is slow:

vim --startuptime starting.txt

Bill

-- 
-- 
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/groups/opt_out.


Re: how to prevent cmd+Q when multiple splits are open?

2013-10-12 Thread Bee
It is possible to use System Preferences to add or change Keyboard Shortcuts 
for any Mac App. The following may be slightly different for versions of MacOS.

Apple Menu
System Preferences
Keyboard & Mouse
Keyboard Shortcuts
+
Application: Other (find MacVim)
Menu Title: Quit MacVim
Keyboard Shortcut: command option quit

You might also want to map 

Bill

-- 
-- 
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/groups/opt_out.


Re: cut/copy/paste

2013-09-23 Thread Bee
On Monday, September 23, 2013 11:02:36 PM UTC-7, Kyle Lippincott wrote:
> No, literally "+y and "+p. (The plus is required)
> On Sep 23, 2013 11:00 PM, "Yuma Antoine Decaux"  wrote:
> > I am not sure if I understand you correctly but have you tried "+y?
> I tried it. IN one window "y then p in another, but this does not work.

--OR-- any register not just the + register::

"aY
"aP

Bill

-- 
-- 
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/groups/opt_out.


MacVim successful compiles Mac and Linux

2013-09-03 Thread Bee
Bjorn

Using your git macvim-master.zip (c5c6bebf10a0c73b337f99b237ac0610270988cc) 
I am sucessfully compiling vim 7.4.16 for all:

MacOS 10.4.11 PowerBook G3 Pismo 500MHz
MacOS 10.6.8 MacBook Pro Intel CoreDuo
Linux ! acer Aspire 4315 Intel CoreDuo 2

Bill

-- 
-- 
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/groups/opt_out.


ve missing patch numbers

2013-08-06 Thread Bee
Hi Bjorn

I downloaded:
https://github.com/b4winckler/macvim/archive/master.zip
with sha:
864d43f7981c832ede38b4d71445ae62bf6ca3a4

When doing :ve it only gives this info:
VIM - Vi IMproved 7.4b BETA (2013 Jul 28, compiled Aug  4 2013 06:41:04)
MacOS X (unix) version
...

It does not show which patches have been applied.

Is that on purpose?

Bill

-- 
-- 
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/groups/opt_out.




Re: Vim 7.4b ready for beta testing

2013-07-28 Thread Bee
On Sunday, July 28, 2013 12:47:40 PM UTC-7, björn wrote:
> I've uploaded a build of MacVim 7.4b BETA (snapshot 69) for OS X 10.6 (Snow 
> Leopard) to:
> https://code.google.com/p/macvim/downloads
> Targeted builds for Lion and Mountain Lion will appear as soon as Douglas 
> gets a chance to build them.

Hi Björn

I compiled 7.4b BETA with minimum required PPC G3 and 10.4.11 Tiger. Runs great.

Would you like it?
If yes, where to post? https://code.google.com/p/macvim/downloads

Bill

-- 
-- 
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/groups/opt_out.




Re: broken getfontname()

2013-06-23 Thread Bee
On Friday, June 21, 2013 6:57:51 AM UTC-7, björn wrote:
> Thanks for the report.  I've pushed a fix.
>
> On Tue, Jun 18, 2013 at 6:41 PM, Bee wrote:
> > getfontname() seems broken is all versions of MacVim

I compiled MacVim version 7.3.1233 from

https://github.com/b4winckler/macvim/

and getfontname() works.

Compiled on:

PowerBook PPC G3 Pismo 500MHz
10.4.11 Tiger

MacBook Pro
10.6.8 Snow Leopard

Both work great and fast.

Bill

-- 
-- 
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/groups/opt_out.




Re: broken getfontname()

2013-06-23 Thread Bee
On Friday, June 21, 2013 6:57:51 AM UTC-7, björn wrote:
> Thanks for the report.  I've pushed a fix.
>
> On Tue, Jun 18, 2013 at 6:41 PM, Bee  wrote:
> > getfontname() seems broken is all versions of MacVim

I compiled MacVim version 7.3.1233 from

https://github.com/b4winckler/macvim/

and getfontname() works.

Compiled on:

PowerBook PPC G3 Pismo 500MHz
10.4.11 Tiger

MacBook Pro
10.6.8 Snow Leopard

Both work great and fast.

Bill

-- 
-- 
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/groups/opt_out.




broken getfontname()

2013-06-18 Thread Bee
Björn

getfontname() seems broken is all versions of MacVim I have tried. It
returns nothing. This came up in a vim_use thread:

Macvim seems not to be reading my .vimrc

http://groups.google.com/group/vim_use/browse_thread/thread/1cdf89cd18cbd596/40f5a41c0e30a261#40f5a41c0e30a261

MacVim 7.3 snapshot 53, 7.3.1193, 7.3.1214
osX 10.4.11 Tiger
PowerBook G3 Pismo 500MHz

MacVim 7.3.1193, 7.3.1214
osX 10.6.8 Snow Leopard
MacBook Pro

:set guifont=Monaco:h12

:set guifont?
guifont=Monaco:h12

:echo getfontname()


Bill

-- 
-- 
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/groups/opt_out.




Re: Volunteer for Snow Leopard snapshot building

2013-06-15 Thread Bee
On Jun 15, 3:24 pm, Eric Weir  wrote:
> On Jun 14, 2013, at 11:44 AM, Bee wrote:
>
> > Björn probably reverted an older Mac that is capable of running Snow
> > Leopard. I suspect any new Mac will require Mountain Lion or better.
>
> Thanks, Bill. Guess I'll have to be content with ML. Hope OS X doesn't become 
> like iOS.

When I setup a new Mac for a client,
I make it look/work like Snow Leopard.
As the client learns about cool new features,
the client can change the settings.

OS X will become like iOS and iOS will be better.

Bill

-- 
-- 
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/groups/opt_out.




MacVim 1193 normal Tiger PPC G3 working great

2013-06-15 Thread Bee
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jun 14 2013 21:31:43)
MacOS X (unix) version
Included patches: 1-1193
Compiled by bill@
Normal version with MacVim GUI.

MacBook Pro
osX 10.6.8 Snow Leopard
compiled intel only

PowerBook G3 Pismo 500 MHz
osX 10.4.11 Tiger
compiled powerpc only

Both work great and fast.

The previous MacVim release for 10.4.11 Tiger,
MacVim-7_3-53 downloaded, not compiled by me,
opening an encrypted file would give an endian error.
MacVim 7.3.1193 compiled on Tiger opens the file no error.

Thank you for adding the test for:
  macvim_skip_colorscheme=1

Bill

-- 
-- 
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/groups/opt_out.




Re: Volunteer for Snow Leopard snapshot building

2013-06-14 Thread Bee


On Jun 14, 7:48 am, Eric Weir  wrote:
> On Jun 11, 2013, at 2:55 PM, björn wrote:
>
> > I actually got fed up with Mountain Lion a few weeks back and reverted
> > to Snow Leopard...
>
> Didn't know that was possible. Will be getting a new MacBook Air soon. Might 
> want to do the same myself, though I also worry about being abandoned by the 
> company if I do.
>
> --
> Eric Weir
> eew...@bellsouth.net
>
> "The invincible shield of caring
> Is a weapon sent from the sky
> against being dead."
>
> - Tao Te Ching 67

Eric

Björn probably reverted an older Mac that is capable of running Snow
Leopard. I suspect any new Mac will require Mountain Lion or better.

Bill

-- 
-- 
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/groups/opt_out.




Re: Volunteer for Snow Leopard snapshot building

2013-06-14 Thread Bee
On Jun 11, 11:55 am, björn  wrote:
> I actually got fed up with Mountain Lion a few weeks back and reverted
> to Snow Leopard so I can take care of that for now.
> ...
> Björn

Björn

I downloaded the source from github and it compiled and ran on Snow
Leopard.

ok, curiosity got me... surprise!

It also compiles and runs on a PowerBook G3 Pismo 500 with 10.4.11
(Tiger)

Bill

-- 
-- 
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/groups/opt_out.




Re: Volunteer for Snow Leopard snapshot building

2013-06-11 Thread Bee
On Jun 11, 11:55 am, björn  wrote:
> I actually got fed up with Mountain Lion a few weeks back and reverted
> to Snow Leopard so I can take care of that for now.
> ...
> Björn

Does that mean there will be an 'official' update of MacVim for Snow
Leopard.

Bill

-- 
-- 
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/groups/opt_out.




Re: MacVim doesn't open windows anymore

2013-02-11 Thread Bee


On Feb 11, 12:30 pm, "Niels Kobschätzki" 
wrote:
> Hi,
>
> I have suddenly a very strange problem: I start MacVim and no window
> gets opened. Pushing cmd+n or using the menu for that doesn't work
> either. Using the Finder and telling to open a file with MacVim will
> open MacVim but not the window with the file. In ActivityMonitor I can
> only find a MacVim-process but no vim-process.
> Each time I open MacVim in console.app I see the following error:
> 11.02.13 21:18:51,000 kernel[0]: MacVim (map: 0xff800eb78a48)
> triggered DYLD shared region unnest for map: 0xff800eb78a48, region
> 0x7fff8f00->0x7fff8f20. While not abnormal for debuggers, this
> increases system memory footprint until the target exits.
>
> Pushing cmd+n doesn't bring up any error in Console.app
>
> The only thing I remember doing recently is updating my homebrew-stuff
> and removing XCode and installing the XCode command line-utilities.
> I tried deleting my .vim-folder, my .vimrc and my .gvimrc and nothing
> worked.
>
> Starting vim in terminal works fine. Starting the vim in the
> MacVim.app-bundle works as well. Starting the MacVim-binary from the
> command line opens MacVim, also with no window and there is no error
> message.
>
> Creating a new account and starting MacVim there works fine.
>
> Mac OS 10.8.2, MacVim Snapshot 66.
>
> Niels

quit macvim if it is running

move:

~/Library/Preferences/org.vim.MacVim.plist

to the desktop
and restart macvim
if that works
the preferences were corrupt
then delete the old org.vim.MacVim.plist
a new one will have been created

bill

-- 
-- 
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/groups/opt_out.




Re: Oddities In Running MacVim

2013-02-02 Thread Bee
What are the permissions on MacVim.app ?

That 'file' is really a folder (bundle) and should have the 'x' set.

In Terminal do this... (if this is where you put MacVim)

cd /Applications/MacVim/MacVim.app/Contents/MacOS
ls -la

What are the permissions of:

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

Does MacVim open if you do this?

./MacVim

If MacVim opens, quit MacVim
Go back to Terminal, are there any messages?

Bill

-- 
-- 
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/groups/opt_out.




Re: Oddities In Running MacVim

2013-02-02 Thread Bee


On Feb 2, 6:12 am, björn  wrote:
> There is a thread regarding this problem at [1].  Maybe you can help
> out by generating a debug log as I asked in that thread.
>
> Thanks,
> Björn
>
> [1]http://code.google.com/p/macvim/issues/detail?id=363
>
> On Thu, Jan 31, 2013 at 9:58 PM, Merrick Christensen
>
>
>
>  wrote:
> > I can run MacVim from the terminal using mvim. But I cannot however open it 
> > directly by clicking on MacVim.app or running open MacVim.app. It opens but 
> > I am not allow to open more windows... Any ideas? Any error logs I could 
> > check out?
>
> > Thanks an advance!
>
> > Merrick
>
> > --
> > --
> > 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, visithttp://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, visithttps://groups.google.com/groups/opt_out.

Has anyone tried osX in Safe Boot?

Start with the shift key held down,
the login will say "Safe Boot"

Bill

-- 
-- 
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/groups/opt_out.




Re: Can we have a File Drawer, please?

2013-01-19 Thread Bee


On Jan 19, 2:08 am, Aaron Cruz  wrote:
> > So why not just use vim in your terminal?
>
> The only two reasons I use macvim instead of terminal vim are
> a) Consistent colorscheme support
> b) System clipboard support
>
> If I had these two things I would love using vim in terminal. Beats having to 
> switch between windows.

Maybe I can help address point b).

On osX 10.4.11 and 10.6.8 I have MacPorts' terminal vim version
7.3.762 and it is compiled with the option: +clipboard

Which means that the system clipboard is supported.

Since I also use vim on Linux and Windows, I have made my .vimrc
portable for different versions of vim, some without +clipboard
support.

if has("clipboard") "?vim6.2 "?tiny7.2
  vmap ,y "+y
  nmap ,p "+gP
  " ^= prepend += append
  if has("gui_running") || has("xterm_clipboard")
silent! set clipboard^=unnamedplus
set clipboard^=unnamed
  endif
endif

So...
,y in visual mode to copy  from vim to another Mac app
,p in normal mode to paste from another Mac app to vim

Using ,p I do not need to know how vim's 'paste' option is set.
:help 'paste'

Bill

-- 
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: Vim app for iPad

2013-01-05 Thread Bee
On Jan 5, 1:40 pm, Eric Weir  wrote:
> When I select Vim from the apps set up for sharing on iTunes,
> click on the add button and select a file on the MacBook, and
> then click on the Save to... button, Finder does not show the
> iPad as a connected device. I don't see any way to navigate to
> it.

You will need to make a copy of your '.vimrc',
re-name it 'v', and save it to the desktop.

You need this step because the Mac file open dialog
will not see the .vimrc file because it is a unix hidden file.

When you get it on the ios device you will need to
re-name it back to '.vimrc'.

Now:
+ connect ios device to the Mac with usb
+ open iTunes
+ click on the ios device mounting icon
+ at the bottom click the vim icon
+ click the Add... button, you will NOT use 'Save to...' button
+ use the file open dialog to browse to your 'v' file
+ select it and click Open

The 'v' file will show in the list above the Add... button and
it has been transferred to the ios device.

You do not use the 'Save to...' button when transferring to the
ios device, only when transferring from the ios device to Mac.

Note:
strings in '...' single quotes are to be typed LITERALLY
but without the single quotes.

Now for the tricky part:
+ open vim on the ios device
+ type this LITERALLY 'nm  ' then press return
- that will map linefeed to carriage return
+ type ':E' then press return (note uppercase 'E')
+ you should now be browsing the file system and
- see the 'v' file
+ use two fingers to scroll and hide keyboard
+ use one finger to select the 'v' file
+ select the 'v' file and type 'R' for Rename
+ delete the 'v' and type '.vimrc'
- because you do not have cursor keys
+ use two fingers to scroll and hide keyboard
+ use one finger to select the '.vimrc' file
- then press return
+ you should now be back in vim looking at your .vimrc file!
+ add 'nm  ' to your '.vimrc' file

Bill

-- 
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: Vim app for iPad

2013-01-05 Thread Bee
This is my .vimrc for ios vim.
I used the short form for all settings,
just 'cause... iPhone is small. :)
Bill

"23456789012345678901234567890123456789012
se nocp nobk noswf nowrap
se is ic scs rnu
se ts=1 sw=1 et ai si sta
se nf-=octal nf+=alpha
se cb^=unnamedplus,unnamed
se lcs+=tab:\|-
nm F :bn!
nm Q :ls!:b
nm W :e! $MYVIMRC
nm T 
nm t 
"nm  m' "space space bug?
nm  
im & 
ino  
vm A y`>a=="
"set guifont=Courier:h18 ".gvimrc

-- 
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: Vim app for iPad

2013-01-05 Thread Bee
>Thanks, Bee. I'm encouraged by your response.
>I'm curious:
>Are you able to see what's on the iOS device from iTunes?

Yes. In iTunes,
specific apps are listed and you can transfer to/from them.
Many apps have DropBox support, which to me, is preferable.

>You speak about iPhone editors.

Most are for both iPhone and iPad, hence...
I will refer to all as ios editors.

Vim is my favorite, this IS the first version, although it works
amazingly well, it needs DropBox support, system clipboard
integration and a few bug fixes.

Other free editors: DraftPad, Nebulous Lite, LocNotes, Nocs are
quite good. They usually have DropBox support and use the system
clipboard.

Another editor called 'free writing' is quite experimental, some
interesting ideas but difficult for me to use. I like its custom
keyboard.

>What can be done with them?

The iPhone's on screen keyboard is tiny, but I can take notes,
compose responses to vim_use, vim_mac... it is easier with an
editor than in a web browser text box.

These things are not possible, yet, with ios vim because it does
not have a way to use the system clipboard for copy and paste,
even though :ve shows +clipboard.

I have compiled reference files I use to support my client's
systems and networks. ios vim will open very large files quickly
and is able to use regex search. Whereas ANY other ios editor I
have tried is extremely slow doing the same task, most do not
have a search, and none I have yet found have regex search.

With ios vim I can also edit those files and create new ones.

Bad news: those files, currently, are not accessible by anyother ios
app.
Good news: those files, currently, are not accessible by anyother ios
app.

That is to say they are out of sight, so if the iPhone is lost,
there is little chance a casual iPhone user would even know of
their existence.

It is even possible to open encrypted vim files transferred from my
Mac.

>Navigate to files on the device?

Yes, I can navigate anywhere on the device, read files, but this
iPhone is NOT jailbroke, so I do not have write access. When I
did 'look around', I felt more comfortable with the ios,
knowing it is truly unix.

>Move files in and out? Shouldn't these work on the iPad, too?

Yes, any ios device... iPad or iPhone are the same.

>Might there be enhanced versions of them around somewhere?

There are MANY editors for ios.
There is rumor of Microsoft Word for ios.
Apple has Pages for ios. The Mac version of Pages is excellent!
I have not yet downloaded it, but iText Pro, one of my favorite
simple word processors for the Mac, has an ios version called
iText Pad.

There are also several spreadsheets for ios.

>I'm lead to believe---don't ask me by what---that all the files
>needed by Vim and all documents created with it are contained
>in a single app folder on the iPad. If so, is it possible to
>put folders in there? And if folders, plugins?

As I understand, yes, all files are in the ios vim app 'package'.

I have added these to ios vim using iTunes:
.vim - this is a folder containing plugins...
.vimrc - the vim preference file
.gvimrc - the gui vim preference file, and ios vim IS 'gui'

The .vimrc is similar to what I use on Mac, Linux and Windows:
relative line numbers, incsearch, ignorecase
autoindent, nosmartindent, expandtab, smarttab,
tabstop=1, shiftwidth=1, because iPhone display is tiny
mappings for easier navigation within a file
nmap   to ease unix system file navigation

The .gvimrc:
set guifont=Courier:h18
because the default font for iPhone is too small.

I have not found any ios vim specific documentation, but have
played enough to find one and two finger gestures.

It is possible to use a bluetooth keyboard with the iPhone,
but I do not have one, and I am curious what can be done
with the minimum. The small screen is very tiring to view but...

ios vim is amazingly usable, with DropBox and clipboard support
it will be the best editor I have tried for ios, but it may be
that I am just a HAPPY vim user on Mac, Linux, Windows, and now
ios :)

Bill

-- 
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: Vim app for iPad

2013-01-04 Thread Bee
Hi Eric

I used iTunes to put .vim .vimrc and .gvimrc on an iPhone for Vim app
to use. It is working quite well.

The .gvimrc has only:
set guifont=Courier:h18
As the default font on iPhone is too small.

The .vimrc is a tiny version of what I use on Mac, Linux and Windows.
If you like I will post it here.

I also used iTunes to upload several 'reference' files with info I
need remotely. These files are big enough that other iPhone editors
are too slow and do not have the search capability.

I use :E to look around the ios (not jailbroke) file structure.
:help :Explore

I have reported a few bugs, and DropBox support is talked about.

I also hope to see an update.

Bill

-- 
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: guifont + lines + colums

2012-10-05 Thread Bee
PS
If I set fullscreen in a script is does not work.

In .gvimrc I set lines and columns
and set fuoptions to do not change size of vim
and this mapping to toggle fullscreen

" ---1-2-3-4-5-6
:set guifont=Menlo:h18 lines=30 columns=80

" Don't change size of Vim when entering fullscreen
:set fuoptions=

" Toggle fullscreen
:nmap  :set fullscreen!

" ---1-2-3-4-5-6

:help fuoptions

Bill

-- 
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: guifont + lines + colums

2012-10-05 Thread Bee


Keyan wrote:
> On 5 Oct 2012, at 21:27, Bee  wrote:
>
> > Keyan wrote:
> >> i had it in my .vimrc and in my .gvimrc.
> >> what i have send is from the command mode.
> >> the line you have posted does not work for me. i use
> >>
> >> VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Sep  1 2012 01:05:49)
> >> MacOS X (unix) version
> >> Included patches: 1-604
> >
> > Try this in .gvimrc, remove the reference to guifont
> >
> > set lines=30 columns=80
> >
> > Does that work?
>
> removed set guifont from .gvimrc, and I have none in the .vimrc. added set 
> lines=30 colums=80 in the last line of my .gvimrc and it did not work, 
> because i have set fu. if i remove this option, it works. i like to use vim 
> in full-screen mode by default, so that is why i forgot to add that important 
> information. sorry for that.
>
> the initial :set command that i posted works fine in non-fullscreen mode. i 
> use the build-in fullscreen method, not the mac os version of fullscreen, 
> because i like to see the output (e.g. latex) on the second screen.
>
> cheers,
> Keyan

:help fullscreen
...
Note: Setting 'fullscreen' usually changes the size of the Vim
control.  However, for technical reasons, 'lines' and 'columns'
will currently only be updated when Vim runs its event loop. As
a consequence, if you set 'fullscreen' and 'lines' or 'columns'
in a Vim script file, you should always set 'fullscreen' after
setting 'lines' and 'columns', else 'lines' and 'columns' will
be overwritten with the values 'fullscreen' sets after the
script has been executed and the event loop is ran again.

Also see:
:help fuoptions

-- 
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: guifont + lines + colums

2012-10-05 Thread Bee
Keyan wrote:
> i had it in my .vimrc and in my .gvimrc.
> what i have send is from the command mode.
> the line you have posted does not work for me. i use
>
> VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Sep  1 2012 01:05:49)
> MacOS X (unix) version
> Included patches: 1-604

Try this in .gvimrc, remove the reference to guifont

set lines=30 columns=80

Does that work?

-- 
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: guifont + lines + colums

2012-10-05 Thread Bee


On Oct 5, 7:59 am, Keyan  wrote:
> Hi,
>
> I still have the problem that the following line
>
> :set guifont=Menlo:h26 lines=30 columns=80
>
> does change the font, but not the lines and columns.
>
> Cheers,
> Keyan

Do you have that line in .vimrc?
If yes, try it in .gvimrc

Works here with one exception, my laptop screen is
not large enough to display 80 columns at Menlo:h26

But this works great:

:set guifont=Menlo:h18 lines=30 columns=80

Bill

-- 
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: Compiling MacVim

2012-06-18 Thread Bee
On Jun 18, 6:46 am, Eric Weir  wrote:
> I've encountered a problem with a plugin that the developer
> has determined is due to a vim bug. He recommended that I get
> a more up to date version of vim. Currently I have MacVim 73
> (53). I gather that to get the most up to date version it is
> necessary to compile it.
>
...
>On May 29, 11:51 am, Alex Lovell-Troy  wrote:
>> *NEW Snow Leopard Build of MacVim available*
>>
>> It's been a couple of weeks and I haven't heard of a new
>> snapshot being ready, but to make sure I can still build on
>> this old laptop, I fixed the bug and uploaded a new build to
>> github.
>>
>> https://github.com/alexlovelltroy/macvim/downloads
>>
>> For those of you not interested in using the built-in python
>> interpreter, there's no reason to switch.  Of course, I'm
>> sure there are at least a few of you for which this will make
>> life slightly easier.
>>
>> -alex

If you do not want to compile, download the MacVim on
Alex's git site. I have been using it for several weeks.

MacVim-snapshot-64-OSX-10_6.tbz
Snapshot 64 with python path bug fixed

Bill

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

2012-06-14 Thread Bee
Another possibility... to open each file in a tab:

macvimpath="/Applications/MacVim-snapshot-64"

alias vimm="$macvimpath/MacVim.app/Contents/MacOS/Vim -gp $@"

I like to separate the path from the app to make it clear where the
app is,
just in case, later, I move or rename it.

These are in my ~/.profile file.

Bill

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

2012-06-14 Thread Bee
Oh... it can be simpler:

alias mvim="open -a macvim $@"

And it can be used to open several files at time:

mvim zzoom.css ccc.sh .v7z.sh

-Bill

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

2012-06-14 Thread Bee
On Jun 14, 8:05 am, Jason Slack-Moehrle 
wrote:
> I am trying to create a macVim environment that allows files when
> double clicked from the Finder and opened via a command-line to be
> opened in MacVim in tabs.
>
> I have in my .vimrc:
>
> tabs=true
>
> and in my .bash_profile:
>
> alias mvim="open -a "/Applications/MacVim-snapshot-64/MacVim.app""
>
> In MacVim prefs I have checked: Open files from applications: in the
> current window
> as well as the pop-up below as: with a tab for each file.
>
> I am still getting separate windows.
>
> Can anyone provide advice?
>
> -Jason

This works well to open files from the command line:

alias mvim='open -a macvim "$@"'

To have Finder open files with double click:
- find a file of the type (extension) you want to open in Finder
- in Finder highlight the file
- use "Finder > File > Get Info" --or-- command+I
- click the triangle next to "Open With"
- select MacVim, you may need to navigate using "Other..."
- finally select "Change All"

Then all files with that same extension will open with MacVim

-Bill

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


How to prevent plugins loading in MacVim like vim -u NONE

2012-04-01 Thread Bee
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


Re: instructions for installing macvim

2012-03-20 Thread Bee


On Mar 19, 2:35 pm, Yvonne Watkins  wrote:
> I'm going to preface this post with: I'm not a complete idiot, just a PC user 
> trying to hop the fence to the mac world.
>
> I'm attempting to install MacVim on my Mac (Snow Leopard) I downloaded 
> alexloveltroy-macvim zip file, and then unzipped it, but could not find a 
> package file (*.pkg) within that file. (Normally, for my other mac apps, I 
> have been double clicking a pkg file and then dragging the program icon into 
> the application folder.)
>
> Then I tried down loading and untarring the .tar file. No .pkg file in that 
> build either.
>
> Then on one of the forums I read that I can just place the macvim.app file in 
> the path and update my path with this new file, and then I could be good to 
> go, but I can't find the macvim.app file either.
>
> Can someone please provide the exact location within the build where the pkg 
> file lives?
> Or please provide more detailed instructions on how to install?
>
> Thanks,
> n00b - Yvonne

Maybe your download was corrupted.

Go here:


Download:
MacVim-snapshot-64-SL.tbz

Once xpanded it should contain:
mvim
MacVim
README.txt

Copy MacVim to your Applications folder.

It works great here, 10.6.8

Bill

-- 
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: key mapping help

2012-02-19 Thread Bee


On Feb 19, 3:22 am, retiredff  wrote:
> Bill,
>
> I tried imap  :set nolist!
> and  instead of 
>
> both seem to work, but, if the cursor is on a blank line when I press F7 I
> see "7" then it disappears. I also see on the same row as --INSERT-- right
> justified "<80>k7". I have not noticed this before. normal?
>
> --
> View this message in 
> context:http://vim.1045645.n5.nabble.com/key-mapping-help-tp5495434p5496732.html
> Sent from the Vim - Mac mailing list archive at Nabble.com.

I can not reproduce the problem if on a blank line.

:help 

This is in my .vimrc:

" toggle invisibles
nmap   :setlocal list!
imap  
vmap  gv

Bill

-- 
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: key mapping help

2012-02-18 Thread Bee


On Feb 18, 7:40 am, retiredff  wrote:
> From macvim help, and other posts and example .vimrc files I have examined,
> the following should work:
>
> "toggle list - this works, not in insert mode
> map  :set nolist!
>
> "this should work in insert mode but does not
> imap   :set nolist!
>
> "nor does this
> map!  :set nolist!
>
> when I press F1, I see displayed on the screen "".
>
> what am I doing wrong to catch insert mode keys?
>
> Thanks
>
> TonyB
>
> --
> View this message in 
> context:http://vim.1045645.n5.nabble.com/key-mapping-help-tp5495434p5495434.html
> Sent from the Vim - Mac mailing list archive at Nabble.com.

Try removing the space after :

imap  :set nolist!

--OR-- better and not leaving insert mode:

imap  :set list!

Bill

-- 
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: "New Window" does nothing (LEGACY-OSX-10_6-MacVim-snapshot-62 on 10.6.8)

2012-02-04 Thread Bee


On Feb 3, 12:14 am, David Stark  wrote:
> I'm running MacVim (LEGACY-OSX-10_6-MacVim-snapshot-62) on my 10.6.8
> MBP. I'm unable to get a window to appear: the "New Window" menu item
> doesn't do anything, and "Open" lets me select a file, but then fails
> to display the file. Any pointers?
>
> Regards,
>
> - David Stark

On this list is a topic 



I have used this snapshot and it works well.



Is it possible for you to try that version?

-Bill

-- 
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: :verbose map

2012-01-22 Thread Bee


On Jan 22, 3:55 pm, Phil Dobbin  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi, all.
>
> I want to send the output of `:verbose map` to hardcopy but can't figure
> out a way to do it.
>
> Any help appreciated.
>
> Cheers,
>
>    Phil...
>
> - --
> Some [people] feel that the best way to improve Perl would be to go
> back in time and shoot the author before he wrote it.
>                                                        -Larry Wall
> -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/
>
> iQEcBAEBAgAGBQJPHKHwAAoJEKpMeDHWT5ADDawIAMy2/gAjOV5NAlMZd5R6o5LF
> /XcNPxTBUNwaC+cJTJZTs0vdwf1hjvnZoKtkesUPaNuHFdc5oJLvwQ+x0sT+yRMk
> xygJc9KSVAg6LaH5tTKY7J5Y/V+nWNjUWz2stN7OvmrGLTr+2fpxV/+a8i1SIhgK
> uIo3u2wQBelgZMumiQFP/P0I89eQ+1kDa5mCjPbmcYt78nAeAJCZZ3+7K3OhFQ0b
> tM+pg+/DvtQSjyZSAA+2FJPAzTutX/qLCxxybXXS1LZkPVhpRJg/t2PgDNnL6mI/
> m436MjL+6okp0ja7yHj5G5IhX9SFsLq0eELjutCuxuffJ/OqTdgaSIIK0uEcldI=
> =KPfl
> -END PGP SIGNATURE-

:help redir

Capture output (silently) to register b

:redir @b | silent verbose map | redir end

then

"bP

Paste register b into a buffer

-Bill

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

2012-01-21 Thread Bee


On Jan 19, 7:13 am, björn  wrote:
> On 19 January 2012 10:21, Alex Lovell-Troy wrote:
>
> > After some gentle prodding, I noticed that I need to build the Snow Leopard
> > version of MacVim for general consumption.
>
> > Sorry for the delay guys and here you go!
>
> >https://github.com/alexlovelltroy/macvim/downloads
>
> Thanks to Alex for making his build available.
>
> I'd appreciate if some of you with Snow Leopard can try this out and
> let me know that it works, since this is the first build Alex has
> made.  Once I get some confirmations I'll update the Google code page
> and tweet about it etc.
>
> Björn

So far it is working very well.

Thank you both Bjorn and Alex for the compile and Bjorn for adding
macvim_skip_colorscheme

-Bill

-- 
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: gui highlight in .vimrc fails

2012-01-13 Thread Bee


On Jan 12, 11:10 pm, björn  wrote:
> On 12 January 2012 20:20, Bee wrote:
>
>
>
>
>
>
>
> > I found a simple solution that works well for me.
> > I would like to request the feature added to MacVim.
>
> > I added a conditional to your $VIM/gvimrc
>
> > if !exists('default_colors')
> >  if !exists("colors_name")
> >    " Use the macvim color scheme by default
> >    colorscheme macvim
> >  endif
> > endif
>
> > And I added this line to my ~/.vimrc
>
> > let default_colors=1
>
> > Now MacVim does NOT clobber any of my settings,
> > BUT it will default to your setting!
>
> That sounds like a reasonable solution.  I have pushed a patch which
> will skip loading the macvim color scheme if you add the line
>
>         let macvim_skip_colorscheme=1
>
> to your ~/.vimrc (note that it will NOT work if you put that in your 
> ~/.gvimrc).
>
> Thanks for the suggestion,
> Björn

Thank you Björn.

I have added
let macvim_skip_colorscheme=1
to the .vimrc
I am now ready for the next snapshot.

Will there be any new snapshots for osx 10.6.8 Snow Leopard?

If not, I have edited your gvimrc to add the conditional and it works
fine.

Bill

-- 
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: gui highlight in .vimrc fails

2012-01-12 Thread Bee


On Jan 8, 8:07 am, björn  wrote:
> On 8 January 2012 00:00, Bee wrote:
>
>
>
>
>
> > I have found a 'problem' with the highlight command in MacVim.
> > MacVim snapshot 53 -- osx 10.4.11
> > MacVim snapshot 60 -- osx 10.6.8
>
> > Neither one respects a gui highlight in .vimrc such as:
>
> > highlight Visual NONE ctermbg=Yellow ctermfg=Blue cterm=Bold
> > guibg=Yellow guifg=Blue gui=Bold
>
> > The same .vimrc works on MacOS with MacPorts gui vim-app 7.3.353 !
> > The same .vimrc works on WinXP with gvim 7.3.386 !
> > The same .vimrc works on Linux with gvim 7.3.372 !
>
> > Since I do not have Lion, and will not any time soon, I can not test
> > more a recent snapshot.
>
> > ** Will this be or has this been changed or fixed? **
>
> > I have added the gui highlight commands to .gvimrc and they work.
>
> > It is just more convenient for them to be in the same highlight
> > command.
>
> You should be able to work around this issue by adding the line
>
> let colors_name = "mine"
>
> to your ~/.vimrc file (substitute "mine" for whatever you like).
>
> The reason why you have to do this is that if colors_name is not set
> MacVim assumes the color scheme hasn't been modified and sets its own
> custom color scheme.
>
> Björn


Hello Bjorn

I found a simple solution that works well for me.
I would like to request the feature added to MacVim.

I added a conditional to your $VIM/gvimrc

if !exists('default_colors')
  if !exists("colors_name")
" Use the macvim color scheme by default
colorscheme macvim
  endif
endif

And I added this line to my ~/.vimrc

let default_colors=1

Now MacVim does NOT clobber any of my settings,
BUT it will default to your setting!

Bill Muench
Santa Cruz, California

-- 
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: gui highlight in .vimrc fails

2012-01-08 Thread Bee


On Jan 8, 8:07 am, björn  wrote:
> On 8 January 2012 00:00, Bee wrote:
>
>
>
>
>
> > I have found a 'problem' with the highlight command in MacVim.
> > MacVim snapshot 53 -- osx 10.4.11
> > MacVim snapshot 60 -- osx 10.6.8
>
> > Neither one respects a gui highlight in .vimrc such as:
>
> > highlight Visual NONE ctermbg=Yellow ctermfg=Blue cterm=Bold
> > guibg=Yellow guifg=Blue gui=Bold
>
> > The same .vimrc works on MacOS with MacPorts gui vim-app 7.3.353 !
> > The same .vimrc works on WinXP with gvim 7.3.386 !
> > The same .vimrc works on Linux with gvim 7.3.372 !
>
> > Since I do not have Lion, and will not any time soon, I can not test
> > more a recent snapshot.
>
> > ** Will this be or has this been changed or fixed? **
>
> > I have added the gui highlight commands to .gvimrc and they work.
>
> > It is just more convenient for them to be in the same highlight
> > command.
>
> You should be able to work around this issue by adding the line
>
> let colors_name = "mine"
>
> to your ~/.vimrc file (substitute "mine" for whatever you like).
>
> The reason why you have to do this is that if colors_name is not set
> MacVim assumes the color scheme hasn't been modified and sets its own
> custom color scheme.
>
> Björn

Thank you for the suggestion.
At first I thought that worked, statusline, linenr, incsearch now all
work.

But then I tried to turn on/off syntax highlighting and got an error
message:

E185: Cannot find color scheme mine

If I use a .gvimrc for the gui highlight commands, all my colors work.

Ah but for one glitch, if I toggle syntax highlight (which works), the
linenr and statusline change to something else (not mine).

None of this happens on MacOS gui vim-app, Linux gvim, WinXP gvim,
MacOS terminal vim, or Linux terminal vim.

Bill

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


gui highlight in .vimrc fails

2012-01-07 Thread Bee
I have found a 'problem' with the highlight command in MacVim.
MacVim snapshot 53 -- osx 10.4.11
MacVim snapshot 60 -- osx 10.6.8

Neither one respects a gui highlight in .vimrc such as:

highlight Visual NONE ctermbg=Yellow ctermfg=Blue cterm=Bold
guibg=Yellow guifg=Blue gui=Bold

The same .vimrc works on MacOS with MacPorts gui vim-app 7.3.353 !
The same .vimrc works on WinXP with gvim 7.3.386 !
The same .vimrc works on Linux with gvim 7.3.372 !

Since I do not have Lion, and will not any time soon, I can not test
more a recent snapshot.

** Will this be or has this been changed or fixed? **

I have added the gui highlight commands to .gvimrc and they work.

It is just more convenient for them to be in the same highlight
command.

Bill

-- 
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: no TextExpander with MacVim?

2011-05-20 Thread Bee
Note: I am using Textpander, an older version of TextExpander for osx
10.4.11

The first use of Textpander in MacVim 7.3 (53) after changing to
insert mode does NOT work, but after that it works! Leave insert mode,
restart insert mode, the first use of Textpander does NOT work, but
after that it does!

Similarly, Textpander works in terminal vim 7.3.146 insert mode after
the first try.

-Bill

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


MacVim's :winpos works differently

2011-02-19 Thread Bee
MacVim's :winpos works differently

MacVim seems to measure the top left from the bottom left,
whereas all others measure from the top left.

Why the difference?

I positioned all the following approximately the same, top left, on a
1024x768 display:

MacOSX compiled with MacPorts
  vim-app   7.3.107   X 0, Y 22
  vim   7.3.107   no display, but :winpos 0 0 works
MacVim  7.3-53X 0, Y 746  Note: 768 - 746 = 22

WinXP gvim  7.3.107   X 0, Y 0

Linux gvim  7.3.89X 0, Y 0
Linux  vim  7.3.89no display, but :winpos 0 0 works

see gui.txt or :help winpos

:winp[os]
  Display current position of the top left corner of the GUI vim
  window in pixels.  Does not work in all versions.

:winp[os] {X} {Y} *E466*
  Put the GUI vim window at the given {X} and {Y} coordinates.
  The coordinates should specify the position in pixels of the
  top left corner of the window.  Does not work in all versions.
  Does work in an (new) xterm |xterm-color|.
  When the GUI window has not been opened yet, the values are
  remembered until the window is opened.  The position is
  adjusted to make the window fit on the screen (if possible).

-Bill

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


mvim alternate -- Open files by drag-n-drop in Terminal vim

2010-03-07 Thread Bee
Open files by drag-n-drop in the Terminal version of vim

The following AppleScript enables me to open files by drag-n-drop with
the Terminal version of vim.

Copy the script to a "Script Editor" window and save as an
"application".

Edit "myVim" to point to the version of vim you want to use in
terminal. The following should work for the default install of MacVim:

  set myVim to "/Applications/MacVim.app/Contents/MacOS/Vim"

I added the resulting AppleScript application to the Dock and the
Desktop, making it easy to open files by drag-n-drop in the Terminal
version of vim.

-Bill

--==
-- Open files by drag-n-drop in the Terminal version of vim

on vim(miv)
  --
  set myVim to "/Applications/MacVim.app/Contents/MacOS/Vim"
  --
  tell application "Terminal"
activate
do script myVim & miv
  end tell
end vim

on open theDrop
  set miv to ""
  repeat with aFile in theDrop
set aFile to POSIX path of aFile
set miv to miv & " " & quoted form of aFile
  end repeat
  vim(miv)
end open

on run
  vim("")
end run
--==

-- 
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: Tab title unhelpful with netrw

2009-03-03 Thread Bee

On Mon, Mar 2, 2009 at 2:15 PM, björn  wrote:
> Ok, lets try only adding the guitablabel=%t line then.
>
> Actually, before I do so I'd like some more people to weigh in on  
> this issue.
> Does anybody else want this as the default?
> Does anybody think we should leave things as they are?
>
> I appreciate any feedback (yes/no answers are good enough for me).

+1 guitablabel=%t%m

file name tail AND modify flag [+]

-- 
Bill
Santa Cruz, California


--~--~-~--~~~---~--~~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



set viminfo=%

2009-02-15 Thread Bee

MacOS 10.4.11
MacVim snapshot 42

If viminfo is set with the  %  option to save the buffer list:

:set viminfo=%

I get the following message when opening files:

W13: Warning: File "file.txt" has been created after editing started

Using  mvim  from terminal to open files, there is no problem.

Vim.app has no problem.

-- 
Bill
Santa Cruz, California


--~--~-~--~~~---~--~~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



re: history not saved

2009-02-02 Thread Bee


> Date: Sun, Feb 1 2009 11:16 am From: björn
> 2009/2/1 Bee:
>> The problem is after quitting MacVim, and starting again the commands
>> issued in the previous session are no longer there, ie NOT saved. The
>> terminal vim does save those commands in the file named  .viminfo
>>
>> Using :history, q: or q/ with MacVim will show the items
>> in  .viminfo  but new commands issued in MacVim are not persistent
>> across sessions.
>
> This could be related to the Quickstart+viminfo issue Jonathon brought
> up in a previous post.  Please disable Quickstart and see if that
> makes any difference (or let me know if you weren't using Quickstart
> to begin with).

I do not have Quickstart enabled.

So that is not the problem, I tried all combinations of:
[ ] Launch Vim processes in a login shell
[ ] Use ATSUI renderer
[ ] Enable Quickstart

And history was not saved.

Then I was inspired...

I used  :qa!  to close all the files I was using as tests and THEN  
command+q to quit MacVim, restarted MacVim and there it was... a  
history of the commands issued in the last session.

It seems  command+q  does not update  .viminfo

-- 
Bill Muench
Santa Cruz, California


--~--~-~--~~~---~--~~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



re: history not saved

2009-02-01 Thread Bee

> Date: Sat, Jan 31 2009 10:16 am
> 2009/1/29 Bee:
>> MacVim Snapshot 42
>> MacOS 10.4.11
>>
>> When I quit MacVim the restart, the history has not been saved.
>>
>> If I use a cli vim, history IS saved and shows up later in MacVim.
>>
>> What am I missing? Is it a preference? They both use the same .vimrc.
>
> Can you specify exactly what you mean by "the history" and how to tell
> whether it has been "saved" or not?  Sorry if I'm being obtuse, but
> I'm not sure exactly what you are talking about. :?

command line history

See VIM REFERENCE MANUAL > cmdline.txt
--or--
:help :history
:help q\:
:help q\/

When using MacVim or terminal vim, I can use up-arrow to recall  
previous commands. Also :history, q: or q/ will open a window showing  
the previous commands. All this works in MacVim or terminal vim in  
the current session.

The problem is after quitting MacVim, and starting again the commands  
issued in the previous session are no longer there, ie NOT saved. The  
terminal vim does save those commands in the file named  .viminfo

Using :history, q: or q/ with MacVim will show the items  
in  .viminfo  but new commands issued in MacVim are not persistent  
across sessions.

-- 
Bill


--~--~-~--~~~---~--~~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



history not saved

2009-01-31 Thread Bee

MacVim Snapshot 42
MacOS 10.4.11

When I quit MacVim then restart, the history has not been saved.

If I use a cli vim, history IS saved and shows up later in MacVim.

What am I missing? Is it a preference? They both use the same .vimrc.

-- 
Bill Muench
Santa Cruz, California


--~--~-~--~~~---~--~~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



history not saved

2009-01-28 Thread Bee

MacVim Snapshot 42
MacOS 10.4.11

When I quit MacVim the restart, the history has not been saved.

If I use a cli vim, history IS saved and shows up later in MacVim.

What am I missing? Is it a preference? They both use the same .vimrc.

-- 
Bill Muench
Santa Cruz, California


--~--~-~--~~~---~--~~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



clear a register

2009-01-28 Thread Bee

This global command searches for "beep" anywhere in a line of a file  
and copies it to register a.

The use of uppercase "A" appends it to register a rather than  
overwriting.

:g/.*beep.*/normal "Ayy

This works fine unless there is already something in register a.

Is there a simple way to clear a register before issuing this global  
command?

-- 
Bill Muench
Santa Cruz, California


--~--~-~--~~~---~--~~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



copy styled text

2009-01-02 Thread Bee

request:
Since MacVim displays syntax colored text, would it be possible to  
copy this styled text to the clipboard? I could then copy and paste  
into documentation.

-- 
Bill
Santa Cruz, California


--~--~-~--~~~---~--~~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



open and convert binary plist to text?

2008-11-26 Thread Bee

Exactly what I was looking for, thank you.

-- 
Bill
Santa Cruz, California

On Nov 26, 2008, at 2:30 AM, vim_mac group wrote:
> I haven't used this extensively, but it seems to work fine (and works
> in a fashion similar to the advice you've given in this thread):
>
> http://www.vim.org/scripts/script.php?script_id=1590
>

--~--~-~--~~~---~--~~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



open and convert binary plist to text?

2008-11-24 Thread Bee

I am sure there is a way... BBEdit does this.

I can use terminal or OnMyCommand to convert a binary plist to text:

plutil -convert xml1 __OBJ_PATH__

Then open that with MacVim or any text editor.

vim will open compressed files on the fly, so there must be a way to  
open and convert plist files on the fly.

Do you know how?

-- 
Bill
Santa Cruz, California



--~--~-~--~~~---~--~~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---