Common Vim plug-ins-session

Source: Internet
Author: User
The Sessionsession plug-in has been enhanced on the mksession command of VIM, allowing you to easily store and restore the vim edit session. It can save the current settings, tabs, and windows.
To save the current session, run the savesession session name command. If you do not provide a name, default is used as the name. You can use any character as the session name. if you want to resume the session, use the same opensession session name. If you do not add a name, default will be used. if a session is changed, when you leave vim, you will be prompted to save the session. you can configure the plug-in so that it will be automatically saved once in a few minutes.
Session file storage location :'~ /. Vim/sessions '(on UNIX) or '~ \ Vimfiles \ sessions '(on Windows). This path can also be configured.
Common command savesession: Do not talk about opensession: Do not talk about restartvim: Save the current session and restart vimclosesession: Close the current session, and ask whether to save. deletesession: Delete the current sessionviewsession: view which sessions are available








From Weizhi note (wiz)

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.