Select Multiple lines, cut and paste:ctrl + space --> to mark the starting point
ctrl + w --> to cut
ctrl + y --> to paste selection
String Replacement:Esc, Shift %
Enter new text to replace press return
Enter new replacement text press return
Press ENTER to cancel
Press . (dot) to raplace the first occurrence
Press ! to replace all selected text
Comment out multiple lines
ctrl + space --> to mark the starting point, then make your selection with up/down arrows
Esc ;
enter
#To uncomment
Esc ;
Enter
Delete trailing ^M
Esc-x delete-trailing-whitespace
Search a region
C-x n n
C-s itemtosearch
C-x n w
Replace Commas with Return or empty space
Ctrl x replace-string
Enter
,
Enter
Ctlr-j
Enter
Go to the beginning of a word
Esc-m
Convert all letters to upper case
Esc-x
uppercase-region
Enter