## key bindings and tab triggers for latex

### key bindings and tab triggers for latex

Hi,

Working on a mac with LaTeX, I would like to add certain key bindings and tab triggers. I checked the docu, but did find a right approach.

What would be the right way, e.g. to add the key binding "cmd + i" to create
Code: Select all
\emph{}
. Then either the caret is between the curly brackets or the selected text is taken and placed between the curly brackets.

Christian
OS X, MacTeX 2013, ST 2, Skim
trinix

Posts: 30
Joined: Tue Sep 20, 2011 1:57 pm

### Re: key bindings and tab triggers for latex

I implemented this over the week-end. Check the new documentation: on Mac, it's bound to Shift+Option+w,e (that is, first you press Shift+Option+w, then you press e). Bold, underline, and wrapping in an arbitrary command works similarly: again, check the docs.
Marciano

Posts: 146
Joined: Fri Sep 18, 2009 2:55 am

### Re: key bindings and tab triggers for latex

For some reason, it does not work in my case.

Opened a new file and saved it as tex file. Typed "test" and selected it. Pressed shift+alt+w, released shift and alt and pressed e. Nothing happens and the text its still selected.

Any ideas?
OS X, MacTeX 2013, ST 2, Skim
trinix

Posts: 30
Joined: Tue Sep 20, 2011 1:57 pm

### Re: key bindings and tab triggers for latex

Uhm.... did you update to the latest version of the plugin? I just tried again on my iMac at work, and it works...
Marciano

Posts: 146
Joined: Fri Sep 18, 2009 2:55 am

### Re: key bindings and tab triggers for latex

Works fine now.

I modified the files as I need. But updating the LaTeXtools plugin would overwrite the changes I made.

How should I do my changes and preserve it when updating

Thx
Christian
OS X, MacTeX 2013, ST 2, Skim
trinix

Posts: 30
Joined: Tue Sep 20, 2011 1:57 pm