sublime: useful commands

  • CMD+R go to function in current file

  • CMD+Option+Down find function definition in another file (from cursor word)

  • CMD+D / CMD+U jump & select next word occurrence / (undo) D and U also work in bash / zshell to scroll down / up half pages

  • CMD+G / CMD+Shift+G goto next / previous word without adding to selection

  • CMD+{ / CMD+} focuses left / right tab (same in terminals, browser, kapeli dash, etc.)

  • CMD+[ / CMD+] shift line left / right (chrome forward / backward nav, devtools changes panel)

  • CMD+Control+Up / CMD+Control+Down shift line up / down

  • CMD+K->(some number) fold to indentation

  • CMD+K->J unfold all

  • CMD+Option+[ / CMD+Option+] fold / unfold current line's children

  • CMD+, is preferences in most all Mac application

原文地址:https://www.cnblogs.com/ilovewindy/p/5976992.html