fmoralesc / vim-pad

a quick notetaking plugin
MIT License
319 stars 22 forks source link

New API proposal #37

Closed fmoralesc closed 10 years ago

fmoralesc commented 11 years ago

I was thinking of clustering the commands (ListPads, OpenPad) under a single entrypoint, (:Pad), and a command abbreviation (:pad) which would work like this

:pad n  # like PadOpen

:pad o id  # like PadOpen id

:pad ls  # like ListPads

:pad s query  # like ListPads query

I was thinking of using python's argparse library to support this.

fmoralesc commented 11 years ago

An expansion to the proposal:

:pad n title   # should create a note with the line 'title' already in it

Also, pad o id is not currently supported, will do when I fix issue #39.

fmoralesc commented 10 years ago

This would require a full rewrite.

fmoralesc commented 10 years ago

This was implemented by recent commits.