Solution to extremely slow vim startup

Source: Internet
Author: User
Vim is very slow to start. recently, vim on gentoo is very slow to start. you can use Ctrl + C multiple times to speed up. Via: helpslow-start instructions www.2cto. comIfVimtakesalongtimetostartup, usethe -- startuptim...
Vim is very slow to start. recently, vim on gentoo is very slow to start. you can use Ctrl + C multiple times to speed up. Through: help slow-start instructions www.2cto.com If Vim takes a long time to start up, use the -- startuptime argument to find out what happens. there are a few common causes:-If the Unix version was compiled with the GUI and/or X11 (check the output ": version "for" + GUI "and" + X11 "), it may need to load shared libraries and connect to the X11 server. try compiling a version with GUI and X11 disabled. thi S also shocould make the executable smaller. use the-X command line argument to avoid connecting to the X server when running in a terminal. www.2cto.com decisively started the local Xmanager, and vi was indeed faster. The pakcage. use file is created in the/etc/portage directory, and the app-editors/vim-X file is recompiled and installed to install vim.
 
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.