5

SessX 10/03/2022 -- Simple session management

 2 years ago
source link: https://www.vim.org/scripts/script.php?script_id=5874%2310%2F03%2F2022
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Simple session management : vim online

SessX : Simple session management

 script karma  Rating 0/0, Downloaded by 411  Comments, bugs, improvements  Vim wiki

created by Richard Bentley-Green   script type utility   description INTRODUCTION

SessX defines some simple, but very useful, enhancements to the standard session operation. Includes support for saving and restoring the `SelX` plugin status - #vimscript #5875

NOTE: This may well work for vim versions prior to 7 - I haven't tried it though

*** If you have any suggestions for improving this, then please let me know. If you think it's rubbish then PLEASE let me know why - it's far more useful than just 'voting it down' (which really doesn't help at all). Contact details are in the top of the README file ***

BASIC CONCEPTS

SessX uses the normal vim session facility; it doesn't replace it or subvert it any way - it just makes it a little more convenient to use. If no session is in force then SessX will not interfere

SessX makes sure that you always save your session files in the editor's startup directory so that you can easily find them again later. To make best use of this, start vim from the root of the source tree you are working with

You can easily give your session a unique name, and change it whenever you want, and SessX also reminds you to save your session on exiting vim

If you are using the SelX plugin, then SessX shall also save the SelX selection/highlight configuration too

In normal vim fashion, you can reload the session when you start vim with `vim -S {filename}` where `{filename}` defaults to `Session.vim` if not specified


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK