Skip to content

tm99hjkl/idi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

idi

A simple snippet manager.

Install

bat, fzf, and xsel are required. Then execute the following commands:

$ git clone https://github.com/tm99hjkl/idi
$ cd idi
$ make install

Usage

To add a snippet, run like idi add path/to/foo.c. It will be added in ~/.idi/c/foo.c.

To create a new snippet, run idi new or idi new foo.c. (To run this command, install the helix editor or rewrite the EDITOR variable in idi.sh and run make install again.)

To edit an existing snippet (or snippets), run idi edit foo.c.

To search a snippet, run idi or idi search. Then select the path and type enter to copy the contents (full path if not text) of the file to the clipboard.

About

A simple snippet manager.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors