Re: Speeding up cold startup

2013-12-11 Thread Tony Mechelynck
On Wednesday, December 11, 2013 7:42:43 AM UTC+1, Kevin Burke wrote:
 So I used binary search to track down the issue and narrowed it to this line 
 in my vimrc:
 
 
 
 set rtp+=$GOROOT/misc/vim
 
 
 
 If $GOROOT is not set, vim gets very slow (for me 'Starting GUI' takes about 
 5.5 seconds). Otherwise macvim boots in about half a second, which isn't 
 great, but is fast enough for me.
 
 
 
 I can produce more info if it'll be useful for debugging but you'll have to 
 show me how.

Try

if $GOROOT != 
set rtp+=$GOROOT/misc/vim
endif

Or else, use the standard directories ($HOME/.vim and $HOME/.vim/after for 
user-private scripts, $VIM/vimfiles and $VIM/vimfiles/after for system-wide 
scripts not distributed with Vim, and $VIMRUNTIME — at the moment, normally 
$VIM/vim74 — for ONLY the files that come with Vim). These are the 
'runtimepath' default. On Unix-like OSes, $VIM is usually /usr/local/share/vim 
but it may vary a little from one installation to the next; one factor may be 
whether you compiled Vim yourself or got it from the same source as your OS.

One way to have it both ways if you don't need _different_ scripts in 
$GOROOT/misc/vim and $HOME/.vim is to symlink the latter to the former on 
installations where $GOROOT is defined.

Best regards,
Tony.
-- 
The devout are always urged to seek the absolute
 truth with their hearts and not their minds.
  [Eric Hoffer, The True Believer]

-- 
-- 
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-12-11 Thread Kevin Burke
On Wednesday, December 11, 2013 3:00:43 AM UTC-8, Tony Mechelynck wrote:
 On Wednesday, December 11, 2013 7:42:43 AM UTC+1, Kevin Burke wrote:
 
  So I used binary search to track down the issue and narrowed it to this 
  line in my vimrc:
 
  
 
  
 
  
 
  set rtp+=$GOROOT/misc/vim
 
  
 
  
 
  
 
  If $GOROOT is not set, vim gets very slow (for me 'Starting GUI' takes 
  about 5.5 seconds). Otherwise macvim boots in about half a second, which 
  isn't great, but is fast enough for me.
 
  
 
  
 
  
 
  I can produce more info if it'll be useful for debugging but you'll have to 
  show me how.
 
 
 
 Try
 
 
 
 if $GOROOT != 
 
 set rtp+=$GOROOT/misc/vim
 
 endif
 
 
 
 Or else, use the standard directories ($HOME/.vim and $HOME/.vim/after for 
 user-private scripts, $VIM/vimfiles and $VIM/vimfiles/after for system-wide 
 scripts not distributed with Vim, and $VIMRUNTIME — at the moment, normally 
 $VIM/vim74 — for ONLY the files that come with Vim). These are the 
 'runtimepath' default. On Unix-like OSes, $VIM is usually 
 /usr/local/share/vim but it may vary a little from one installation to the 
 next; one factor may be whether you compiled Vim yourself or got it from the 
 same source as your OS.
 
 
 
 One way to have it both ways if you don't need _different_ scripts in 
 $GOROOT/misc/vim and $HOME/.vim is to symlink the latter to the former on 
 installations where $GOROOT is defined.
 
 
 
 Best regards,
 
 Tony.
 
 -- 
 
 The devout are always urged to seek the absolute
 
  truth with their hearts and not their minds.
 
   [Eric Hoffer, The True Believer]

Hi Tony,

Thanks! I guess I'm just curious why the start time slows down so dramatically 
if that variable is not defined.

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


Vim 2014 calendar available

2013-12-11 Thread Bram Moolenaar

Hello Vim users,

I have updated the handy desktop calendar for 2014.  It prints on one
sheet of paper and, after folding and applying a bit of glue, stands on
your desk.

It is available in English and Dutch.  You can find the PDF files on my
website: http://moolenaar.net/#Calendar

If you are doing your Christmas shopping on Amazon, please consider
using the links on this page: http://www.iccf.nl/click1.html
A percentage of the sales will go to Vim's charity, helping children in
Uganda, and it doesn't cost you anything.

And for a very special Christmas present: Sponsor a child!
http://www.iccf.nl/sponsor.html

Happy Vimming!

-- 
I started out with nothing, and I still have most of it.
-- Michael Davis -- Tonight Show

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

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