>== Auszüge aus der Nachricht von Rudra Banerjee vom 2013-09-14 11:35:
> Hello friends,
> I am facing a problem for using shortcuts provided by vim-latex. Say, I
> want \textbf, so I was trying `bf. But, given, `b is a shortcut for
> \beta, I always end up with something \betaf.
>
> FBF works, how can I use `bf?
> any help?
>
`bf (as `sf and other friends) are _not_ synonyms for FBF of FSF and
such.
The Manual says:
3.3 Font Mappings
These mappings insert font descriptions such as: \textsf{<++>}<++> with
the cursor left in place of the first placeholder (the <++> characters).
Mnemonic:
first letter is always F (F for font)
next 2 letters are the 2 letters describing the font.
Example: Typing FEM in insert-mode expands to \emph{<++>}<++>.
Just like environment mappings, you can visually select an area
and press `sf to have it enclosed in: \textsf{word} or
{\sffamily
line
}
depending on character-wise or line-wise selection.
Thus you have to use FBF during typing to insert \textbf{}, and `bf to
apply the same _after_ typing the text to a visually selected part of the
text.
happy vimming,
Ruthard
|