jbyuki/nabla.nvim

github github
note-taking plugin
star 142
stars
alert-circle 1
open issues
users 2
subscribers
git-branch 5
forks
CREATED

2020-12-07

UPDATED

3 days ago

packer

require('packer').startup(function()
  use 'jbyuki/nabla.nvim'
end)

paq

require "paq" { 
  'jbyuki/nabla.nvim'
}

nabla.nvim

Take your scentific notes in Neovim.

The colorscheme used here is tokyonight.

An ASCII math generator from LaTeX equations.

Requirements

  • Neovim nightly
  • A colorscheme which supports treesitter see here

Install

Using vim-plug

Plug 'jbyuki/nabla.nvim'

Configuration

Bind the following command:

nnoremap <F5> :lua require("nabla").action()<CR>

Usage

  • Press F5 to initiate nabla.nvim.
  • Press F5 on a LaTeX formula to generate the ASCII Formula.
    • $ ... $ : inline form
    • $$ ... $$ : wrapped form
  • Press F5 on an ASCII Formula to edit the LaTeX formula.

Reference

See test/input.txt for examples.

Note: If the notation you need is not present or there is a misaligned expression, feel free to open an Issue.

Credits

  • Thanks to jetrosut for his helpful feedback and bug troubleshoot
  • Thanks to nbCloud91 for pointing me to VIM conceals
  • Thanks to clstb for giving suggestions on how to enhance the interaction.