Code Monkey home page Code Monkey logo

snip.sh's Introduction

Snip lessens repetitive typing by automatically entering text ('snips') for you.

* Homepage: http://github.com/Dieterbe/snip/
* License: BSD
* Dependencies: sh, dmenu, xdotool, zenity

Features:

* interactively see/filter snips using dmenu based on filename
* TODO: optionally filter on filename and/or contents
* static snips (use literal contents) and dynamic (execute it and use output)
* doesn't abuse (overwrite) any clipboard/primary/secondary buffer
* implements the XDG basedir spec
* if $DMENU_ARGS is set in the environment, it will be used
* when saving, if text is selected it is used, otherwise it is asked for
  (saving is only useful for static snips. write dynamic snips yourself)

Limitations / todo:
* integration with clipboard. this would mean a separate directory of snips
  who are a bit more volatile.  you'd store a new snip by using a keycombo,
  and either use currently selected text, or fill in a form.
* only ascii suport (xdotool)

HOWTO:
* put your snips in $XDG_DATA_HOME/snip/snips
* see /usr/share/snip/examples/snips for example snips
* the difference between static and dynamic snips is determined by
  the execute permission

snip.sh's People

Contributors

dieterbe avatar

Stargazers

Peter Abbasi 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.