Add vimtex plugin
This commit is contained in:
parent
970ec519ba
commit
69e14f0422
2 changed files with 10 additions and 2 deletions
|
@ -1,4 +1,9 @@
|
|||
-- NERDTree
|
||||
|
||||
vim.cmd("let NERDTreeIgnore=['^__pycache__$', '\\.pyc', '\\~$']")
|
||||
vim.g.NERDTreeIgnore = { '^__pycache__$', '\\.pyc', '\\~$' }
|
||||
vim.keymap.set('n', '<leader>ne', '<cmd>NERDTree<CR>', { remap = true })
|
||||
|
||||
-- VimTex
|
||||
vim.g.tex_flavor = 'latex'
|
||||
vim.g.vimtex_view_method = 'zathura'
|
||||
vim.g.vimtex_quickfix_autoclose_after_keystrokes = 2
|
||||
vim.g.vimtex_quickfix_open_on_warning = 0
|
||||
|
|
|
@ -20,6 +20,9 @@ return require('packer').startup(function(use)
|
|||
use 'preservim/nerdtree'
|
||||
use 'Xuyuanp/nerdtree-git-plugin' -- A NERDTree plugin showing git status
|
||||
|
||||
-- VimTeX
|
||||
use 'lervag/vimtex'
|
||||
|
||||
-- Automatically set up your configuration after cloning packer.nvim
|
||||
-- Put this at the end after all plugins
|
||||
if packer_bootstrap then
|
||||
|
|
Loading…
Add table
Reference in a new issue