You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
371 B

vim.api.nvim_create_autocmd({ 'VimLeave' },
{
callback = function() os.execute('texclear ' .. vim.fn.expand('%')) end
})
vim.o.shiftwidth = 2
vim.o.softtabstop = 2
-- frabjous/knap
vim.keymap.set('n', '<leader>p', require("knap").toggle_autopreviewing, { noremap = true })
vim.keymap.set({ 'n', 'v', 'i' },'<F7>', function() require("knap").forward_jump() end)