When I write mathematical formulas of any kind, the vim editor displays them and transforms them into a more readable format, see here: https://github.com/KeitaNakamura/tex-conceal.vim (the images below)

But I would like to find a setting on vim that allows me to view, not only the code, but also the result in latex language immediately below or to the right of the code formula: option given on Sublime as you can see below. enter image description here

  • 1
    Welcome to Vi and Vim! I don’t know if we have a formal language requirement, but as far as I know QA should be in English (for what it’s worth, it will reach a much wider audience of people who can help you!). I don’t want to discourage or prevent you from participating here. We are willing to make edits to correct understandable attempts at english; even google translate might be passable. Please edit with an attempt at an english translation
    – D. Ben Knoble
    Jan 23 '21 at 23:36
  • Thanks, D. Ben Knoble, I solved
    – Antonello
    Jan 24 '21 at 19:12
  • Hm. This might be doable with popups and unicode, or something funky with neovim; the traditional way of handling this in vim is to have the pdf viewer reload after compiling side-by-side (not what i do, but something vimtex supports)
    – D. Ben Knoble
    Jan 24 '21 at 19:39
  • 3
    not discussing it’s convenience (which I agree would be tremendous) or the ability to program; simply that it may very well be impossible in vim as you wish—vim edits text. For the most part, it doesn’t deal with anything but that—raw text. (It’s not what you would call WSYIWYG.)
    – D. Ben Knoble
    Jan 24 '21 at 23:39
  • 1
    The tl;dr is that Vim really sucks at displaying anything other than simple text; its graphical capabilities are extremely limited, even in the GUI versions. There are a bunch of reasons for this, and is unlikely to change in the foreseeable future. If you really want more advanced graphical capabilities then unfortunately Vim may not the best choice for you. Jan 27 '21 at 23:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.