Org-mode mailing list
 help / color / mirror / Atom feed
From: Jean-Marie Gaillourdet <>
To: Bastien <>
Cc: emacs-orgmode <>
Subject: Re: Vim folding/syntax highlighting?
Date: Tue, 18 May 2010 15:03:39 +0200
Message-ID: <> (raw)
In-Reply-To: <>

[-- Attachment #1: Type: text/plain, Size: 1212 bytes --]


sorry to answer so late, but I'm way behind my emails.

There is , which emulates folding like outline-mode. I'll attach my locally modified version of it. I've added support for deeper outline structures, drawers, tags, SCHEDULED and DEADLINE. This is just work in progress.

Just put file into ~/.vim/syntax and use :set ft=org or put the following line into ~/.vim/ftdetect/org.vim.

au BufRead,BufNewFile *.org		set filetype=org

Additionally, I have a file ~/vim/ftplugin/org.vim which contains:

map <Tab> za
autocmd! BufRead,BufNewFile *.org set filetype=org

This, allows to use tab to open and close folds as in org-mode.

Best regards,


On 29.04.2010, at 23:00, Bastien wrote:

> Nathan Neff <> writes:
>> I'll probably write a syntax file and a folding method if nobody
>> knows of any existing ones.
> That would be really great!
> -- 
> Bastien
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.

[-- Attachment #2: org.vim --]
[-- Type: application/octet-stream, Size: 11554 bytes --]

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.

  reply	other threads:[~2010-05-18 13:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-29 18:52 Nathan Neff
2010-04-29 21:00 ` Bastien
2010-05-18 13:03   ` Jean-Marie Gaillourdet [this message]
2010-04-29 21:03 Michael Brand
2010-04-29 22:32 ` Štěpán Němec

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:

  List information:

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

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ \
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:

AGPL code for this site: git clone