
Kile supports user defined lists of abbreviations, which are replaced
on demand by longer text strings. Look at
→ → +Complete
to configure one or more of theses lists. For the example given here, the
abbreviation list in example.cwl
must be chosen.
In this file you will find for example the entry L=\LaTeX
for example.
For example, type only the letter L
. Now invoke
the abbreviation mode of word completion with
→ → or keyboard shortcut Ctrl+Alt+Space,
and the letter L
is replaced by the string
\LaTeX
.
Abbreviation completion also supports newline %n
and %C
to place the cursor, if these characters are present in the expansion text.
So if you have the entry
en1=\begin{enumerate}%n\item %C%n\end{enumerate}%n
in the completion file, and invoke the abbreviation completion,
the expansion looks like below, where x
shows the final cursor position.
\begin{enumerate} \item x \end{enumerate}