2012年4月24日 星期二

sublime text 2 tips

sublime text 2
一定要用它超好用的 multi-selection 功能

ctrl+alt+up/down:開啟 select lines 功能
alt+shift+方向鍵 or shift+方向鍵:select words
ctrl+mouse click:開啟 multi-selection 功能

游標在要選取的文字上,ctrl+d 逐一選取文件中相同的文字
游標在要選取的文字上,alt+F3 選取文件中所有相同的文字

其它常用的功能
ctrl+shift+p:command mode
ctrl+p:切換 folder 裡的檔案
alt+Number:切換分頁
ctrl+r:@goto symbol/definition
ctrl+alt+a:alignment

沒有留言:

張貼留言