I want to write some text in Spanish in which accents are used frequently, such as ó for which I have to write \'{o}
. I have seen that in vimtex they have defined for example `a
to convert into \alpha
in math mode, but in normal mode I would like to convert it to for example à.
I also tried the command :ab 'o \'{o}
but this only works with whole words, so not when it is part of a word. The same problem occurs when using snippets with UltiSnips.
How can I easily and quickly type an accented letter?
\usepackage[utf8]{inputenc}
you do not have to use the ascii markup for accents unless you want to.