emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Herbert Sitz <hesitz@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Update on Org-mode clone in Vim
Date: Mon, 29 Nov 2010 09:00:04 -0500	[thread overview]
Message-ID: <87wrnwut5n.fsf@fastmail.fm> (raw)
In-Reply-To: <loom.20101126T073330-986@post.gmane.org> (Herbert Sitz's message of "Fri, 26 Nov 2010 06:42:45 +0000 (UTC)")

Herbert Sitz <hesitz@gmail.com> writes:

> 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. :)
>
> Matt -- Regarding the hyperlinks there's a Vim plugin that already
> seems to have pretty complete hyperlinking functionality.  Just put
> it in your plugin folder and you're good to go with it.  You
> can find it here:
>
> http://www.vim.org/scripts/script.php?script_id=293
>
> I haven't done any checking to see what needs to be done to make 
> it compatible with Org-mode hyperlinking markup.  I don't think it 
> should be too bad.

The syntax does indeed seem similar at points:

http://mars.iti.pk.edu.pl/doc/vim-scripts/html/plugin_utl.vim.html

>
> At least before 'conceal text' was available in Vim73 I don't 
> think there's any good way to hide link details and have just
> the link text appear in the document.  I haven't used Vim73
> or looked at conceal text much, but it seems that feature
> might make it possible to closely replicate the way
> Emacs does things.  I'd be happy to hear suggestions from
> people who know more about this. . . 

This is a very interesting development in Vim. I remember that the
ability to hide text (in Org-mode and auctex) was one of the things that
drew me to Emacs in the first place.

> I think there are some other existing Vim plugins that can
> be made use of.  There's a footnoting plugin that I want
> to look into adopting at some point.  
>
> Also, I have done
> nothing at all to implement any of Org's table editing
> functionality.  This is pretty much independent of Org
> itself, and I was hoping there was an existing Vim plugin
> that would be somewhere along lines of what's in Org, 
> but I haven't found anything close yet.

I'd agree. I remember wishing for a self-aligning table editor in Vim
(let alone a spreadsheet). Then again, it took Carsten's genius to bring
that particular bit of magic to Emacs, so who knows what is possible in
Vim. The Vim/Unix philosophy (which I admire just as much as I admire
the all-in-one "second OS" philosophy behind Emacs) seems to be that
such things are better handled by external programs and that scripting
and integration should take place in the shell, not the editor.[1] All
of which makes an Org-mode clone in Vim a particularly impressive
accomplishment!

Thanks again. I look forward to following your progress.

Best,
Matt

Footnotes:
[1] And why not enjoy the best of both worlds, right?

  reply	other threads:[~2010-11-29 14:00 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
2010-11-26  6:42   ` Herbert Sitz
2010-11-29 14:00     ` Matt Lundin [this message]
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=87wrnwut5n.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=hesitz@gmail.com \
    /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).