Skip to content

rv178/txm.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

txm.nvim

LaTeX preview inside NeoVim using txm.

Features

Supports the following commands:

  • :TxmRender: Takes the whole buffer and renders a LaTeX preview as virtual text.

  • :TxmClear: Clears the LaTeX preview inside the buffer.

  • :TxmToggle: Toggle the preview on/off.

  • <Plug>(TxmPreview): Select text using visual mode and preview it in a scratchpad buffer.

Installation

Packer

use "rv178/txm.nvim"

Set keybinds

vim.keymap.set({'v'}, '<leader>tx', '<Plug>(TxmPreview)')
vim.keymap.set({'n', 'v'}, '<leader>tt', ':TxmToggle')

Example

recording.mp4

About

Simple neovim LaTeX preview plugin using txm

Topics

Resources

Stars

28 stars

Watchers

0 watching

Forks

Contributors

Languages