2

I'm really frustrated by this shortcut because I commonly use both Emacs and Management Studio for different projects. However accidentally pressing CTRL + E in MS and expecting cursor to move to the end of the line, which it does in my Emacs configuration, can be really bad in MS if you are programming modifications to a database and, say, are not finished with your WHERE clauses.

I have found no way of redefining CTRL + E to something else, or remove the shortcut entirely. I know I can rightclick the EXECUTE button in the toolbar (no can do in Query menu) and remove the ampersand symbol there but it does not take, CTRL + E still executes my query.

Any help appreciated

Jasper
  • 2,166
  • 4
  • 30
  • 50
Tinkerer
  • 51
  • 3

2 Answers2

1

For now, there is workaround (map Ctrl + E to some other software):
http://www.sqlservercentral.com/Forums/Topic855640-149-1.aspx

But apparently it cannot be disabled until next version (SQL 2011) :
http://ask.sqlservercentral.com/questions/36303/disable-keyboard-shortcuts

Jasper
  • 2,166
  • 4
  • 30
  • 50
waeva
  • 11
  • 2
0

You could install SSMS Tools Pack(it's free). All of its features allow for keyboard shortcut binding, so all you need to do is open the options for one of its features and rebind the shortcut to Ctrl+E. I just tried it now for a coworker who has an identical problem as you. Works great!

Fabrizio
  • 7,603
  • 6
  • 44
  • 104
rossisdead
  • 2,102
  • 1
  • 19
  • 30