Skip to content

vxe/bear.el

Repository files navigation

bear

x-callback-url wrapper for bear on OSX

Overview

Installation

You will need Emacs 24+, make and cask to build the project.

cd bear
make && make install

Set your notes directory

M-x customize-group bear

Usage

markdown

To create a note:

M-x bear:create-note

Which will prompt you for a

  • note title
  • comma separated list of tag strings (eg. tag_a/sub-heading1/sub-heading2, tag_b/sub-heading1/sub-heading2)

Now you’re in a markdown buffer, once done editing:

C-c C-c

This should pop open Bear.app with the note you have just created there

org-mode

new document

M-x bear:create-note-org

Which will prompt you for a

  • note title
  • comma separated list of tag strings (eg. tag_a/sub-heading1/sub-heading2, tag_b/sub-heading1/sub-heading2)

Now you’re in a org buffer, once done editing:

C-c C

review markdown formatting and push to bear as before with

C-c C-c

existing document

Limitations

I indiscriminately convert all single quotes to double quotes to make this work. I imagine there are quoting bugs galore but so far haven’t run in into anything as my notes have simple title and content by and large.

Extending

Add more functions and add them to the minor mode keybinding

About

x-callback-url wrapper for bear.app on OSX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published