[SVN] r2384 (Latex)
Brad Miller
bonelake at mac.com
Sat Dec 3 23:08:02 UTC 2005
Haris,
Thanks for the work on the new commands! They seem to be working
pretty well. One minor problem I've noticed is that when I insert an
itemize I get
\begin{itemize}
\item
|
\end{itemize}
Where my cursor is shown by the |. I think It would be better to
leave the cursor on the \item line since that is where you are going
to want to start typing.
As far as the keybinding are concerned, I already modified my local
version to use ctrl-\ and ctrl-shift-\ I rarely do any serious
coding or writing on my powerbook keyboard and these bindings keep my
hands in a much more natural position on a regular keyboard.
Brad
On Dec 3, 2005, at 3:46 PM, Charilaos Skiadas wrote:
> Split the "Insert environment/command" command in two commands:
> 1) The "Insert Command" command creates commands based on current
> word, using the TM_LATEX_SHORTCUTS dictionary for word expansion,
> and the TM_LATEX_COMMAND_NOBRACES regexp to decide whether to put
> braces or not, defaulting on putting braces. Has shortcut cmd-} as
> per Jeroen's suggestion.
> 2) The "Insert Environment" command creates a begin-end environment
> based on current word. It uses the TM_LATEX_SHORTCUTS dictionary
> for word expansion, currently the TM_LATEX_INSERT_LABEL to decide
> whether to always put labels or not (to be removed shortly in favor
> of:) and the TM_LATEX_FIRSTLINE dictionary to decide whether to
> insert any extra text between the begin and the end, e.g. a label,
> an \item etc. It can contain snippet placeholders like $1, $2 and
> so on, with $10 reserved for the place below the extra first line,
> where the user would insert the text that goes in the environment.
> Changed its shortcut to cmd-{ as per Jeroen's suggestion.
>
> Looking for feedback from testers.
>
> Changed:
> A trunk/Bundles/Latex.tmbundle/Commands/Insert Command Based on
> Current Word.plist
> U trunk/Bundles/Latex.tmbundle/Commands/Insert LaTeX Command
> Based on Current Word.plist
> _______________________________________________
> textmate-dev mailing list
> textmate-dev at lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate-dev
More information about the textmate-dev
mailing list