Vim logo vim online Vim Book Ad

basic Tip #363: Starting up Vim very fast expecially from a telnet session

 tip karma   Rating 40/22, Viewed by 646 

created:   November 7, 2002 14:06      complexity:   basic
author:   vim_power      as of Vim:   5.7

when you telnet to a remote machine and fire Vim on that machine,
sometimes it takes a lot of time for Vim to start.
instead if you use
vim -X
it will start vim almost instantaneously. This is because "-X" options
tells vim not to connect to the local X server, which can save a lot of startup time.

Also
vim -X --noplugin
will not load any plugins in $VIMRUNTIME/plugin directory, this will again speed up the
starting and is very useful especially when running vim from a Disk mounted over NFS.
Njoy

 rate this tip  Life Changing Helpful Unfulfilling 

<<matchit.vim and coldfusion (and perhaps others) | Automatic file type detection with fully qualified ClearCase names >>

Additional Notes

[email protected], November 19, 2002 3:34
This one is great!

I alway use vim via telnet on remote machines but it always tried to connect to my XServer. Up to now, I always made something like 'unset DISPLAY; vim ...'.

I think it's a bug in the manual pages since the option -X is not mentioned there (same applies for -O).

This makes life much more easier!

Thanks

Helge
If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to [email protected] after searching the archive. Help Bram help Uganda.
SourceForge Logo