From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Sitz Subject: Re: Update on Org-mode clone in Vim Date: Fri, 26 Nov 2010 06:22:47 +0000 (UTC) Message-ID: References: <87lj4gtyr3.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=49361 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLri4-0007Hy-2Q for emacs-orgmode@gnu.org; Fri, 26 Nov 2010 01:23:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PLri2-0004WR-RF for emacs-orgmode@gnu.org; Fri, 26 Nov 2010 01:23:03 -0500 Received: from lo.gmane.org ([80.91.229.12]:59201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PLri2-0004WB-KX for emacs-orgmode@gnu.org; Fri, 26 Nov 2010 01:23:02 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PLrhz-0007mE-Ep for emacs-orgmode@gnu.org; Fri, 26 Nov 2010 07:22:59 +0100 Received: from c-24-22-131-140.hsd1.wa.comcast.net ([24.22.131.140]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Nov 2010 07:22:59 +0100 Received: from hesitz by c-24-22-131-140.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Nov 2010 07:22:59 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Matt Lundin 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