Coder Social home page Coder Social logo

cheatsheet's Introduction

MELPA

Cheatsheet.el

Cheatsheet.el is a tool for creating your own Emacs cheatsheet. Why I've created this plugin:

  • I want to start using new plugin without learning keys - cheatsheet.el lets you to define keys you want to be able to find quickly
  • I don't need to see all keys, defined in different keymaps
  • I don't need to see all keys, defined in any plugin
  • I want to write my own key description
  • I want to see commands near the keys in my cheatsheet

All this problems can be solved using cheatsheet.el

Getting started

  • Get cheatsheet.el
  • Load package - (require 'cheatsheet)
  • Add your first cheat:
(cheatsheet-add :group 'Common
                :key "C-x C-c"
                :description "leave Emacs.")
  • Run (cheatsheet-show) and enjoy :-)

Plugin API

cheatsheet-add

Command to add a new cheat to your cheatsheet.

(cheatsheet-add :group 'Common
                :key "C-x C-c"
                :description "leave Emacs.")

cheatsheet-add-group

Command to add cheats to the same group.

(cheatsheet-add-group 'Common
                      '(:key "C-x C-c" :description "leave Emacs")
                      '(:key "C-x C-f" :description "find file"))

cheatsheet-get

Command to get current cheatsheet as list of groups, keeping defining order.

  • Cheat is a plist that looks like this [:group :key :description]. :group, :key, :description are symbols or strings
  • Group is a plist that looks like this [:name :cheats]. :name is a symbol or string, :cheats is a list of CHEATs
  • Cheatsheet is a list of GROUPs - result of cheatsheet-get command

cheatsheet-show

Show buffer with your cheatsheet. Can be closed via C-q key.

Enjoy using cheatsheet.el

P.S. Thanks @rmuslimov for code review and elisp help!

cheatsheet's People

Contributors

donderom avatar enisozgen avatar gergelypolonkai avatar mykyta-shyrin avatar syohex avatar

Watchers

 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.