Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 780 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 780 Bytes

NLZ (Neovim + Latexmk + Zathura)

This is a simple neovim lua plugin with a simple goal: compile .tex files to generate .pdf documents easily. All while supporting SyncTeX

Install

Using vim-plug for example:

Plug 'ewd340/nlz'

(TODO: add other common ways to install, such as dein, packer, lazy.nvim, etc)

Usage

Just add this to you neovim configuration:

local nlz = require('nlz').setup{}
local nlz_keymap_opts = {silent = true, remap = false}
vim.keymap.set('n', '<F9>', nlz.toggle_compile, nlz_keymap_opts)
vim.keymap.set('n', '<F7>', nlz.synctex, nlz_keymap_opts)
vim.keymap.set('n', '<C-LeftMouse>', nlz.synctex, nlz_keymap_opts)

(TODO: More details about the configuration and the keymaps.)