This post originated from an RSS feed registered with Python Buzz
by Rob Hudson.
Original Post: MySQL command line discovery
Feed Title: Thoughts from Rob Hudson
Feed URL: http://treborhudson.blogspot.com/
Feed Description: PHP, Python, Linux, Web
Weird thing happened today... I was working in MySQL and accidentally
hit Escape followed by the character u and it jumped me to the next
word (it really uppercases the word but in my case the word was already
uppercased so I didn't notice the effect). So I started playing with
other escape sequences to see what they do and here's what I
found...
Escape-f: Jumps forward one word. Escape-b: Jumps back one word. Escape-c: Capitalizes the word under the cursor. Escape-u: Uppercases the word under the cursor. Escape-l: Lowercases the word under the cursor. Escape-d: Deletes the word under the cursor. Escape-t: Transposes the word before the cursor with the one
after the cursor.
Also, Escape-p puts MySQL into some other command input mode
or something. I haven't figured that one out yet and I can't find any
documentation on any of this at all. If anyone has more of a clue to
these shortcuts let me know.