Code Monkey home page Code Monkey logo

kys's Introduction

K-Y-S: Keep Your Session

Features

  • a session keeps your buffer and window information.
  • sessions are saved on disk, you can resume it at any time.
  • a session has a list of tags, you can manage your sessions with them.

Install

Put the kys.el in your emacs’ load-path.

Add following to your .emacs file:

(require 'kys)
; (setq kys-directory "~/.emacs.d/kys")
(kys-init)
; key-bindings
(global-set-key "\M-sc" 'kys-session-commit)
(global-set-key "\M-si" 'kys-session-init)
(global-set-key "\M-sr" 'kys-session-reset)
(global-set-key "\M-sd" 'kys-session-delete)
(global-set-key "\M-sl" 'kys-session-list)
(global-set-key "\M-sk" 'kys-session-kill)
(global-set-key "\M-ss" 'kys-session)

The global variable kys-directory is the location for saving sessions.

Usage

  • Enter a session:
    • Start a new session kys-session-init
    • Switch to an existing session kys-session-reset (use kys-session-list to find all existing sessions)
  • Do some changes to buffers or windows
  • Save current session
    • Just save kys-session-commit
    • Save and kill session kys-session-kill (no session now)
  • or Switch session kys-session-reset (current session will be saved)
  • or Delete session kys-session-delete (delete a session, if it’s current session, the session will be killed without saving)
  • or Show current session kys-session

To-do

  • [ ] filter by tags
  • [ ] more beatiful presentation of information
  • [ ] lock screen

About

This package is developed by hoverwinter, you can find the repository on Github.

Any questions or bugs, please go to the issue or send an email.

License

GPL License 3

Copyright (C) hoverwinter 2016

kys's People

Contributors

hoverwinter avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.