The original has been used in Windows notepad++ text editor, now change the Mac, found that notepad++ official no Mac version, used on the Mac there are ways, but it is too troublesome.
By looking at the suggestions of netizens, found the textmate, even some people say that TM powerful, part-time is the God-level editor. It's really good to use after the download.
http://macromates.com/
Shortcut keys can refer to the following article:
For the Unix family under the text editor, the VI function is slightly weak, Emacs ability is not to say, but the learning curve is too steep, so surrounded by textmate. Shortcut keys can make you greatly improve the efficiency of use, it can let your hands as little as possible between the keyboard and mouse floating around. Compared to the Windows platform, the MAC is more advocating the use of shortcut keys to operate, with a large touchpad, the mouse is really a bit redundant.
The so-called Universal shortcut keys listed here are not related to the specific shortcuts in the bundles, and some of the system-wide shortcuts also refer to
1. Mate Command:
Mate. Start a project in the current directory
Mate A.txt B.txt *.csv afolder afolder/bfolder Specify a file, a wildcard, or a directory to start the project
COMMAND + OPTION + L Display line number Ctrl + R executes the cursor before or selects the shell command and outputs the execution result to the current position Ctrl + L to attempt to move the current line to the center of the screen ESC auto-complete
Ctrl + WSelect a wordCOMMAND + SHIFT +Select the content to the right of the cursorCOMMAND + SHIFT + <-Check the left side of the cursor Option|ctrl + SHIFT + > select the word to the right of the cursor Option|ctrl + SHIFT + < Select the Word to the left of the cursorCOMMAND + SHIFT + LPick a line of informationoptionAfter you select multiple rows, after you press option, the rectangle of the current cursor after the start selection is selected in column mode or by holding option, dragging the cursor for column mode selectionCOMMAND +]Increase IndentCOMMAND + [Reduce indentationCOMMAND + OPTION + [Formatting code, similar to CTRL + SHIFT + F in EclipseCtrl + COMMAND + UP ARROWMove an entire row upCtrl + COMMAND + DOWN arrowMove the entire row downCtrl + COMMAND +Select part Right ShiftCtrl + COMMAND + <-Select partial left ShiftCtrl + Kor COMMAND + fn + DELETE Deletes the current cursor to the end of the line command + DELETE deletes the current cursor at the beginning of the rowCtrl + SHIFT + KDelete When moving forwardCtrl + YThe previously deleted content is restored back to COMMAND +/comment LineCOMMAND + returnAdd a new line below the current line SHIFT + COMMAND + Return the end of the current line add a point, then add a new row belowSHIFT + CTRL + DCopy the current line to the next lineCtrl + OPTION + COMMAND + VChoose content from History paste Ctrl + U convert to uppercase CTRL + SHIFT + U to lowercase Ctrl + OPTION + U convert to initial capital Ctrl + G Invert Case CTRL + T top and bottom two lines Exchange Command + L navigate to a line command + number Select a label CTRL + Tab in menu bar and page toggleCOMMAND +or CTRL + E cursor back to end of lineCOMMAND + <-or CTRL + A cursor back to the beginning of the lineCOMMAND + UP ARROWCursor back to top of pageCOMMAND + DOWN arrowCursor back to footer Option|ctrl + + cursor move right one word Option|ctrl + <-cursor Move left one word Ctrl + UP ARROW Move up one screen Ctr L + DOWN ARROW to move down one screenCOMMAND + SHIFT + TList of all methods in the current file, like Ctrl + O in EclipseCtrl + SHIFT + TView TODO list, identify//todo,//changed and//fixme three types of markersCOMMAND + TFind files under open projects, like CTRL + SHIFT + R in EclipseCtrl + COMMAND + RLocate the corresponding file in the current editor in the project file tree, like Command + SHIFT + J for XcodeCtrl + SHIFT + AOpen SVN option COMMAND + W close tag Command + SHIFT + W Close Item Foocommand + F2 Mark F2 Toggle between tags F1 or expand the current block command + F page to search or replace text comma nd + SHIFT + F Project Search replace text command + G Next search text Command + SHIFT + G Previous search text command + OPTION + F Replace a COMMAND + CTRL + F with all COMMAND + OPTION + S all save Command + SHIFT + S Save as .... Command + OPTION +-right label command + OPTION + <-item in Project left tab
Shortcuts that are worth a little more attention have been marked out in bold and different colors.
SOURCE http://unmi.cc/textmate-common-shortcuts/
TextMate Universal Shortcut keys