Wikia

Vim Tips Wiki

Changes: Fast start up in a telnet session

Edit

Back to page

(Change to TipImported template + severe manual clean)
(Move categories to tip template)
 
Line 9: Line 9:
 
|version=5.7
 
|version=5.7
 
|rating=65/32
 
|rating=65/32
  +
|category1=
  +
|category2=
 
}}
 
}}
 
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
 
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

Latest revision as of 01:16, April 25, 2008

Tip 363 Printable Monobook Previous Next

created November 7, 2002 · complexity basic · author vim_power · version 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.

CommentsEdit

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


Around Wikia's network

Random Wiki