Git Product home page Git Product logo

shell-velocity's Introduction

๐Ÿš€ Shell Velocity

A portable notational velocity for your shell written in POSIX shell.

demo.mp4

Features

  • Removes cognitive load by combining the note creation and note searching
  • Customizable (use your preferred fuzzy finder or file picker.
  • Portable (runs on every POSIX compatible OS)
  • Minimal (only a POSIX shell and the picker of your choice)
  • Nonintrusive (use markdown by default, but works also with your preferred markup languages such as: org, neorg, rst, adoc, etc)

Dependencies

  • POSIX compliant shell
  • POSIX utils
  • fzf or your favorite picker (e.g. fzy, rofi, dmenu, etc)

Install

Important Make sure that ~/.local/bin is in your PATH.

sh -c "$(printf '%s\n install\n' "$(curl -fs 'https://raw.githubusercontent.com/saccarosium/shell-velocity/main/install.sh')")"

Uninstall

sh -c "$(printf '%s\n remove\n' "$(curl -fs 'https://raw.githubusercontent.com/saccarosium/shell-velocity/main/install.sh')")"

Usage

If you used the install script just run man shv. If you didn't you can read the documentation at docs/shv.md.

Philosophy

The reasoning behind Notational Velocity's present lack of multi-database support is that storing notes in separate databases would 1) Require the same kinds of decisions that category/folder-based organizers force upon their users (e.g., "Is this note going to be work-specific or home-specific?"), and 2) Defeat the point of instantaneous searching by requiring, ultimately, the user to repeat each search for every database in use.

-- quote,scrod creator of notational_velocity

By providing a default directory, we offer (one) fix to the first issue.

By searching the whole set of directories simultaneously, we handle the second.

It also handles Notational Velocity's issue with multiple databases. UNIX does not allow repeated filenames in the same folder, but often the parent folder provides context, like in workout/TODO.md and coding/TODO.md.

shell-velocity's People

Contributors

jneidel avatar mattmc3 avatar pdaengeli avatar saccarosium avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

shell-velocity's Issues

Empty picker for `shv`

From the readme

shv # select a note

$ shv

screenshot_23-03-20_07:00:35

Where:

~/Documents/notes $ ls *
uff.md

diary:
2023-03-20.md

Both with random contents

Expected

To fzf to present anything to me

Having selected multiple file, editor open them as multiple buffers

Thanks for this script. It's very useful and application independet.

Is it possible to use --multi with fuzzy select. I tested with this:

export SHV_PICKER="fzf -m --ansi --print-query --bind=alt-enter:print-query"

and while the fzf multi select work in fzf window the shv only open the last one in vim. Is there a way to handle multiple selection?

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.