nabla.nvimtake your scientific notes ✏️ in Neovim

联合创作 · 2023-10-02 00:27

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.
浏览 4
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报