[Vim-latex-devel] Environment mapping scheme
Brought to you by:
srinathava,
tmaas
|
From: Kevin <wan...@gm...> - 2018-04-01 02:30:12
|
Hi,
In the current version, the environment mapping is like below:
\begin{someenv}
<++>
\end{someenv}
but in many cases, the environments have arguments, so I have to press `<ESC>kA` to add those arguments, like
\begin{someenv}[<optional>]{<mandatory >}
<++>
\end{someenv}
it's very annoying. This problem will be solved by changing the mapping to
\begin{someenv}<++>
\end{someenv}
At this time, if the environment doesn't have arguments, I can simply press `<CR>`, if it does, I can directly type them.
I have read the help document but cannot find a way to change it. So is there a method to change the default mapping? If not, hope you make it possible, thanks!
|