vimtex
tex-conceal.vim
Our great sponsors
vimtex | tex-conceal.vim | |
---|---|---|
94 | 6 | |
5,076 | 128 | |
- | - | |
8.9 | 0.0 | |
8 days ago | about 2 years ago | |
TeX | Vim Script | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vimtex
-
My uses for vimwiki have dried up... and it makes me a little sad
I use vimwiki almost daily, but it's not professional use, just daily notes and organizing my life. I started using zim but I found I really missed writing/editing with vim. Then I found vimwiki. There are things I'm not super happy about with it. I saw that /u/lervag (love his vimtex plugin) released a wiki plugin and I was/am interested in it, but I have so much in my wiki right now that I don't want to deal with conversion issues.
-
I like Tabasco.
I do think VSCode is a great tool and I recommend it frequently to people, but I still want to set the record straight here. Yes, vim is obviously limited in the sense that as a CLI app it doesn't draw it's own PDF or HTML windows, that's fair. But it can remote control your favorite PDF viewer or browser for roughly the same functionality. I'm currently writing my thesis using vimtex and it's quite smooth. And all the other stuff you mention is implemented quite competently by various plugins like vim-fugitive, coc.nvim, vimspector and copilot.vim.
-
What are all the accepted "inner" motion arguments?
Some language-specific plugins like vimtex also include their own text objects.
-
[VimTeX] vim on mac lags when trying to use includegraphics[]{} for attaching image to a .tex file
I am new to Vim and LaTeX, but I'm trying to learn both at the same time so I started using VimTeX to edit .tex files on MacVim. I got almost everything working now (vimtex itself, zathura, autocomplete, etc.), but one thing. And that is Vim won't respond for a while whenever I try to include an image using \includegraphics[]{} from \usepackage{graphicx}. By typing so, MacVim will request permission to access several folders but then hangs from there for like at least 10 minutes while my computer gets super hot and fans kick on loudly like it's doing something heavy in the background.
I would post an issue on the VimTeX Github page: https://github.com/lervag/vimtex/issues. That way you might also get help to disable the possible indexing. I have also needed to disable project file scanning to stop Vim from hanging, when pressing Ctrl + N to perform simple auto-complete.
-
Which vim plugins do not have a lua equivalent yet?
Absolutely VimTeX
-
Vim + LaTeX
In that blog post that is done using the vim plugin vimtex, which gives you syntax highlighting, indentation, etc, and also provides a way of automatically compiling your latex code into a PDF.
-
PdfAnnots in Lua
Amazing! Here is the issue #2631.
I mostly use NeoVim to write LaTeX documents and was grateful to have u/lervag's help setting up PdfAnnots so that when hovering over a citation, I can run PdfAnnots on the associated pdf for that citation. Here is the Vimscript that he came up with: ``` function PdfAnnots() abort try let infile = vimtex#context#get().handler.get_actions().entry.file catch /E121/ echo "No file found" return endtry
-
[HELP] Configuring Vim-tex in NvChad config
Hi, I've been trying to configure vim-tex working on the NvChad configs. I got the :VimtexCompile working and giving me output pdf. But the usual ll is giving me these errors. Also in vim {{ would expand to \left{ \right}. It's not working with NeoVim. I'm using LuaSnip with friendly-snippets with the default config in NvChad.
tex-conceal.vim
-
Doing Latex preview in vim inside python comments?
Nowadays during my master thesis does lots of equations appear in my python code, but I would love to use tex rendering in some way, like latex preview in emacs. However, I know that there is some great latex rendering such as tex-conceal.vim and latex_to_unicode in julia-vim, but I am not able to make it work for python comments. Any idea on how to solve this?
-
What is your preferred method for note taking? What are the advantages of writing on latex vs writing on paper?
" https://github.com/junegunn/vim-plug " Specify a directory for plugins call plug#begin('~/.vim/plugged') Plug 'lervag/vimtex' let g:tex_flavor='latex' let g:vimtex_view_method='zathura' let g:vimtex_quickfix_mode=0 " these two lines are for a separate plugin I use: https://github.com/KeitaNakamura/tex-conceal.vim set conceallevel=1 let g:tex_conceal='abdmg' " Initialize plugin system call plug#end()
- How to conceal "\begin{this} ... \end{this}" in vim?
-
Need help with UltiSnips Plug
Btw line 18 will cause (unrelated, I'd guess) issues for now as vimtex v2 rolled it's own syntax features (including less powerful concealing). Either you restrict to v1.6 as suggested in texconceal README
What are some alternatives?
coc-texlab - TexLab extension for coc.nvim
texlab - An implementation of the Language Server Protocol for LaTeX
xournalpp - Xournal++ is a handwriting notetaking software with PDF annotation support. Written in C++ with GTK3, supporting Linux (e.g. Ubuntu, Debian, Arch, SUSE), macOS and Windows 10. Supports pen input from devices such as Wacom Tablets.
zathura - a document viewer
mermaid - Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
homebrew-zathura - Homebrew formulae to build Zathura on Mac OS X
ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
tree-sitter-markdown - Markdown grammar for tree-sitter
tree-sitter-markdown - Markdown grammar for tree-sitter
vim-sandwich - Set of operators and textobjects to search/select/edit sandwiched texts.
iceberg.vim - :antarctica: Bluish color scheme for Vim and Neovim
pandoc-preview.vim - A vim plugin that provides the function to automatically preview a given pandoc file in your favorite pdf viewer