vimtex
vim-sandwich
Our great sponsors
vimtex | vim-sandwich | |
---|---|---|
94 | 35 | |
5,093 | 1,381 | |
- | - | |
8.9 | 5.0 | |
about 12 hours ago | 9 days ago | |
TeX | Vim Script | |
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.
vim-sandwich
-
Surround: how to change foo(bar) to bar
vim-sandwich has this too (although syntax by default is sdf).
- Installing argtextobj.vim
-
How would I wrap a word, prefix it, and finally suffix it?
For example with vim-sandwich you can literally type: siw"sa"ffunctionCall
-
Comment 1 thing in neovim (or plugins) that changed your life, but very few people know about
can't live without my prefered surround plugin
-
neovim plugins that have improved your workflow
vim-sandwich
-
What extra and useful textobj does vim have?
https://github.com/machakann/vim-sandwich (is and iss)
- Whenever I'm looking for plugins these days [OC]
-
Is there a way Is there a way to combine da' and da" ?
This might not be exactly what you're looking for, but vim-sandwich provides the as text object, that goes to whatever surrounding you're in, whether it's quotes, parens, \begin{environment}...\end{environment} in TeX files, or whatever other sandwich recipes you have set up.
-
what vimL plugins are you still using?
vim-sandwich - nvim-surround looks good but is still relatively new and has some missing features compared to alternatives.
-
Introducing nvim-surround, a plugin for adding/changing/deleting surrounding delimiters
Nice! I have been using https://github.com/machakann/vim-sandwich for some time, but not really taking all the advantage of what it offers.
What are some alternatives?
coc-texlab - TexLab extension for coc.nvim
texlab - An implementation of the Language Server Protocol for LaTeX
tex-conceal.vim
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
surround.nvim - A surround text object plugin for neovim written in lua.
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.
nvim-surround - Add/change/delete surrounding delimiter pairs with ease. Written with :heart: in Lua.
vim-matchup - vim match-up: even better % :facepunch: navigate and highlight matching words :facepunch: modern matchit and matchparen. Supports both vim and neovim + tree-sitter.
zathura - a document viewer
mermaid - Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
vim-exchange - Easy text exchange operator for Vim
homebrew-zathura - Homebrew formulae to build Zathura on Mac OS X