- Notifications
You must be signed in to change notification settings - Fork3
akirak/counsel-org-capture-string
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a counsel wrapper fororg-capture-string
in Emacs Org mode.
org-capture-string
is a function that lets you fire anorg-capture
template with a given initial input. Unlike the normalorg-capture
with which you have to choose a template before you type input,org-capture-string
lets you enter input text before you choose a template. I personally find this workflow often more “natural”, because I usually seem to come up with an idea before thinking about where to refile it.
counsel-org-capture-string
is likeorg-capture-string
, but it lets you enter input viaIvy. Because it is based on Ivy, it supports alternative actions such as insertion and copying.counsel-org-capture-string
also supports defining functions for generating completion candidates so that you can enter a particular keyword efficiently. That is,counsel-org-capture-string
is an omni note-taking interface for Emacs.
This package requires Emacs 25.1.
This package is available from MELPA ascounsel-org-capture-string
.
You don’t need an initial configuration to use this package, but it allows you to set options via the Emacs customization interface. Check outcounsel-org-capture-string
group. In particular,counsel-org-capture-string-sources
allows you to customize candidates
Runcounsel-org-capture-string
command. Its basic usage is the same asorg-capture-string
.
- Enter input.
- Choose an
org-capture
template.
Because the command is based on Ivy, any knowledge about Ivy applies to it. The following tips may be useful when you use this package:
M-i
to insert the candidate into the mini buffer and continue editingM-n
to enter a symbol at pointM-y
to insert text from the kill ringM-o
to select an alternative actioni
to insert the candidate into the original bufferw
to store the candidate to the kill ringivy-add-actions
lets you define extra actions
C-r
to review the history
The original inspiration for this package wasthis blog post.
GPL v3
About
Feed an input text to org-capture from Ivy
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Contributors2
Uh oh!
There was an error while loading.Please reload this page.