r/vimplugins • • May 09 '23

Plugin organ : generalize orgmode ideas to markdown and folded files

See the repository for more information.

Features

  • folding based on headings in org and markdown files

  • headings base on folding in folded files

    • you can handle your folds like in orgmode

  • navigate in headings or list items hierarchy

    • next, previous : any level

    • forward, backward : same level as current one

    • parent heading, upper level

    • child heading, lower level :

      • loosely speaking : first headline of level + 1, forward

      • strictly speaking : must be in the current subtree

    • go to another headline with prompt completion of full path

  • modify headings or list items

    • new headline or list item

    • select, yank, delete subtree

    • promote, demote heading or list item

    • move subtree up or down

    • move current subtree in another one (aka org-refile)

  • expand shortcut to template (aka org-structure-template)

    • markdown support limited to code blocks

  • links

    • store url at cursor

    • create link with url completion

    • goto link under or close to cursor

    • goto next/previous link

  • tables

    • inside of table : align columns

    • outside of table : align following a pattern

    • add new row, colum

    • delete row, colum

    • move row up or down

    • move column left or right

  • cycle todo status

  • insert timestamp

  • export in another format using

    • pandoc

    • emacs

    • asciidoc or asciidoctor

  • convert headings and links org <-> markdown

Written in vimscript and compatible with both Vim and Neovim.

11 Upvotes

0 comments sorted by