sponsor Vim development Vim logo Vim Book Ad

SessX : Simple session management

 script karma  Rating 4/1, Downloaded by 862  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: I really have no idea what the minimum vim version requirement is to run SessX and I don't know of a practical way of finding out (I've only used it on v8.2). The best I can suggest is to try it; it will probably work and if it doesn't then let me know and I'll see if I can sort it

*** 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
 
install details
Just un-tar into ~/.vim/bundle/ as usual and read the README file for config options
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
sessx.tar.gz 10/03/2022 2022-03-28 7.0 Richard Bentley-Green The 'MKS {name}' command now accepts '.' as the `name` to explicitly specify the default session name "Session.vim". Prior to this, once a non-default name had been specified, it was not possible to revert back to the default name
sessx.tar.gz 17/11/2020 2020-11-21 7.0 Richard Bentley-Green - Corrected variable use in SaveSession() - was non-local
sessx.tar.gz 27/04/20 2020-04-28 7.0 Richard Bentley-Green Added MKSInfo command
Added 'default' to setting StatusMsg colour. Without this, colour override  would be hit-and-miss
sessx.tar.gz 26/04/20 2020-04-27 7.0 Richard Bentley-Green Documentation improvements (no code changes)
ip used for rating: 142.132.191.50

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 the maillist. Help Bram help Uganda.
   
Vim at Github