emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Herbert Sitz <hesitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Update on Org-mode clone in Vim
Date: Fri, 26 Nov 2010 06:22:47 +0000 (UTC)	[thread overview]
Message-ID: <loom.20101126T071012-204@post.gmane.org> (raw)
In-Reply-To: 87lj4gtyr3.fsf@fastmail.fm

Matt Lundin <mdl <at> imapmail.org> writes:

> 
> I'm curious to see how hyperlinks and capture might work in a vim
> environment. Being able to call org-capture from anywhere in my Emacs
> ecosystem (or should I say operating system) has spoiled me. :)
> 
> Best,
> Matt
> 
> 

Matt -- There's some basic capture functionality in there
right now that you may want to try out. I was going to flesh
it out a bit and do a little video on it but it's probably
usable right now.  It's implemented using two simple 
functions:  

CaptureBuffer(), which opens a new window and is hard-coded
with a simple template that starts a level 2 heading with
a date-time stamp in next line, and then pressing :W 
when done calls: 

ProcessCapture(), which saves the entry 
you make in the capture buffer to the end of a first
level '* Agenda' heading in whatever file you have
defined as g:capture_file.  If you also have the 
g:capture_file included as one of your g:agenda_files
you can add entries from agenda and do immediate
refresh pretty much just like Russell Adams
demonstrates in his recent Org-mode
screencast at > http://vimeo.com/16533939 .

You can map a keycombo to :call CaptureBuffer and it 
should work for you.  If you try to get it working 
I'd be happy to hear of your success or help you 
resolve any problems.

Regards,

Herb

  reply	other threads:[~2010-11-26  6:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-25 10:02 Update on Org-mode clone in Vim Herbert Sitz
2010-11-25 13:14 ` OSiRiS
2010-11-25 17:19 ` Carsten Dominik
2010-11-26  6:30   ` Herbert Sitz
2010-11-26  7:12   ` Eric S Fraga
2010-11-26  5:55 ` Matt Lundin
2010-11-26  6:22   ` Herbert Sitz [this message]
2010-11-26  6:42   ` Herbert Sitz
2010-11-29 14:00     ` Matt Lundin
2010-11-29 14:58       ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20101126T071012-204@post.gmane.org \
    --to=hesitz@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).