# How to create new shortcuts on kile?

The shortcut Alt + SHIFT + ( insert \left( \right) in line.

How to create new shortcuts on kile to insert [] {}. Attention, than the plug-in kile.

-
Presumably you know you can assign shortcut key combinations to \left[, \right], ... individually through the usual kile assign shortcuts mechanism? –  mas Sep 2 '11 at 19:51

In the German community UbuntuUsers a similar question was answered. Here the original Question: Kile: eigene Shortcuts definieren?

So I answer this question in relation to the linked post. I tested my answer with Kile 2.1 beta 4

1. Open Kile
2. go to: LaTeX -> User-Tags -> Edit User Tags
gedit $HOME/.kde/share/config/kilerc  I use gedit in Ubuntu, but you can use a different editor if you want. 2. Search for the following string in the open kilerc: [User] 3. Under [User] add the following lines: nUserTags=1 userTag0={%C} userTagName0=bracket  4. Open Kile and go to Settings -> Configure Shortcuts 5. Search for bracket and set the shortcut. EDIT Today I found the correct documentation User-Defined Tags - Thank Marco. And cursor between {and}? equal to$ \$ where the cursor is in the middle. –  Regis da Silva Sep 4 '11 at 4:37
Thank you, Marco. I have done that and now get a blinking cursor between the braces. That is OK when I want to insert text after invoking \enquote. But I am still unable to replicate the behaviour of \textit{} which grabs the selected text and puts it between the braces when \textit{} is invoked after the text has been typed. With user tags, does it have to do with Add versus Insert`? I tried both but cannot find any difference. –  chandra Nov 1 '11 at 18:05