wren / jrnl.vim

Syntax for jrnl files in vim
Other
11 stars 6 forks source link
cli command-line jrnl neovim neovim-plugin notes syntax-highlighting todo vim vim-plugin

Syntax for jrnl files in vim

This is a syntax file for neovim and vim to support jrnl files. It's intended to work on top of the built-in markdown syntax (it might also work with other markdown syntaxes, but I haven't tested it).

I've been using it personally for a few months, so the glaring bugs are ironed out, but it's still in early development, so please report any issues you find.

While I'm open to adding new features, the current feature set reflects my own personal usage of jrnl. My main use cases--in no particular order--are:

Screenshots

So that you know what you're getting, here's a screenshot of the same file without any syntax highlighting (left), and with this plugin installed (right).

Screenshot with and without plugin installed

Features

Caveats

As mentioned above, this has so far been my personal syntax file that is just now being made into a standalone plugin. As such, it's not particularly well tested (although I do use it daily).

I'm open to making this more widely usable for more users, but want new features to have at least somewhat wide usage. Please feel free to suggest any new features, but be aware that I decide not to add if I see the usage as too niche.

Also, I've been using neovim for a few years now, but recognize that a few years is still considered relatively new in the vim community. This is my first plugin, and I'm open to feedback, but please be kind.

Installation

See a few example below, or refer to your plugin manager's documentation.

Packer

use 'wren/jrnl.vim'

Vundle

Plugin 'wren/jrnl.vim'

vim-plug

Plug 'wren/jrnl.vim'