GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lujun9972/code-library: use org-mode to manage code snippets

BranchesTags
Open more actions menu

Latest commit

 

History

30 Commits
30 Commits

Folders and files

NameName
Last commit message
Last commit date
README.org
README.org
 
 
README_zh.org
README_zh.org
 
 
code-library.el
code-library.el
 
 

Repository files navigation

README

Usage

  1. set value of `code-library-directory’

    This variable specify the directory where Snippet files are stored.

    Default value is “~/CodeLibrary”

  2. set value of `code-library-mode-file-alist’

    This variable mapping the correspondence between `major-mode’ and the snippet file.

    The element is like ‘(MAJOR-MODE . ORG-FILENAME)

  3. mark the snippet which you want to save and then M-x code-library-save-code

    If the value of `code-library-use-tags-command’ is not null, It will automatically run `org-mode’ tags prompt when saving a snippet.

    If the value of `code-library-sync-to-gist’ is not null, the snippet will also be stored to gist.

    If the whitespace in code snippet should be preserved (such as Makefile snippet), the major-mode should be added into `code-library-keep-indentation’

    If you want to add specified header to every new org-file, you can specify the `code-library-org-file-header’ variable.

About

use org-mode to manage code snippets

Resources

Readme
Activity

Stars

30 stars

Watchers

2 watching

Forks

6 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.