天下武功,唯快不破。
Simple & Less
- 没什么不好意思承认的,写这篇文章的初衷就是想炫耀自己的「与众不同」—— 彰显自己是一个酷爱快捷键的「键盘党」,一个有个性的少数派。然而这样做真的有意义吗?
- 正确的做法:
- 选用符合直觉的好设计 —— 它们容易上手、容易习惯,不容易被错误地使用。
- 「开箱即用」,即用默认配置就能用得顺手,就是一个很高的标准。
- 根据「二八法则」(帕累托法则),只做关键部分的改进,用更少的工具完成更多的事情。
- 工具提供足够的设置选项,然后将工具配置得足够贴合个人的使用习惯。
例如,同时使用多个 IDE 和代码编辑器的话,尽量将快捷键配置得一样,增强快捷键的通用性,减轻记忆快捷键的负担,减少误用;尽量都使用 Vim 插件,统一以 Vim 的方式操作,就可以进一步减轻记忆负担,增加操作效率。
- 工具提供足够的设置选项,然后将工具配置得足够贴合个人的使用习惯。
- 选用符合直觉的好设计 —— 它们容易上手、容易习惯,不容易被错误地使用。
Explanation
- Here are the Mac shortcuts:
- The default ones that I use most frequently
- All my custom ones
- I hide all the default shortcuts that are of little use.
- Meanings of Font Format:
- The item with the superscript custom implies it might
be custom by me.
- The item with the superscript custom implies it might
- The italic item is
not frequently-used. - Related :
《 Tools 利器 》
《 Mac Efficiency 效率指北 》 - Reference :
《 Mac 键盘快捷键 》
Key Symbols
Power⌘ Command ( Cmd )⌥ Option | Alt^ Control | Ctrl⇧ Shift ( Shf )⇪ CapsLock⇥ Tab⎋ Escape ( Esc )↩ Return ( Ret ) | Enter凵 Space
↑ Up↓ Down ( Dn )← Left ( Lf )→ Right ( Rg )
⌫ Delete ( Del ) | Backspace
0~9 One of the digits 0 ~ 9a~z One of the alphabet a ~ z
Abbreviations
- Buttons
CmdCommandCtrlControlEscEscapeOptOptionRetReturnShfShiftDelDelete - Directions & Positions
DnDownLfleftRgRightPrevPreviousBtmBottom - Words
AppApplicationDirDirectoryMvMoveRmRemoveStrStringPfPrefix - Symbols
&And|Or - Others
akaAlso known as
Examples
- Meaning of Font Style
Italic : I seldom use it .
custom : Added | modified by myself . ⌘ ⌥ aManipulation
Press “Cmd”, “Opt” & “a” at the same time to do the manipulation .AManipulation⇧ AManipulation
The capital letter “A” means pressing “Shf” & “a” at the same time !⌘ 1|⌘ 2Manipulation
Press “⌘ 1” or “⌘ 2” to do the manipulation.⌘ 1, ⌘ 2Manipulation⌘ 1,⌘ 2Manipulation
Press “⌘ 1” then “⌘ 2” to do the manipulation.
macOS
Some are common & default in operating system.
Some of the keys below can be modified in System Preference → Keyboard.
Some are modified by Apps Karabiner , Seil.
System
Power
Wake Up⌘ ⌥ Sleep^ ⇧ Display Sleep^ Shut Down
Then you can choose to Sleep or Restart in the prompt dialog box.
Accessory
⌘ 凵Spotlight
Lf^=⌥ 凵Switch Input Sources customF1Desktop custom⌥ ⇧ FSearch in All Files custom⌥ ⇧ ?Show Help Menu custom
Dock & Menubar & Sidebar
^ F12Do Not Disturb On/Off custom⌘ ⌥ dDock Hiding On/Off
Finder
File
⌘ ↓Open⌘ dDuplicate⌘ eEject Disk
Folder
⌘ ⇧ AApplication⌘ ⇧ DDesktop⌘ ⇧ FAll My Files⌘ ⇧ Gto Folder⌘ ⇧ ODocuments⌘ ⇧ RAirDrop⌘ ⌥ lDownloads⌘ ⇧ NNew Folder⌘ ↑to Parent Dir
View
凵Quick Look⌘ iGet Info⌘ 1View the files in way of Icon⌘ 2View as a List⌘ 3View as columns⌘ 4View as a cover flow⌘ ⇧ ⌫Empty Trash
File & Edit
File
⌘ nNew⌘ oOpen⌘ sSave⌘ pPrint⌘ ⇧ SSave asEdit
⌘ fSearch⌘ gNext Match⌘ ⇧ GPrev Match⌥ ←Prev Word⌥ →Next Word⌘ aSelect All⌘ zUndo⌘ ⇧ ZRedo⌘ cCopy⌘ ⌥ cCopy Path⌘ vPaste⌘ ⌥ vMove ( After⌘ c)After Selection, then input:
⌘ bBold⌘ uUnderline⌘ iItalic⌘ +Bigger | Zoom In⌘ -Smaller | Zoom Out
Window & Tab
Window
⌘ `Switch windows of the current App
It’s enhanced by App HyperSwitch | Keyboard Maestro⌘ ^ fToggle Full Screen⌘ ,Preferences⌘ qExit⌘ wClose⌘ hHide⌘ ⌥ hHide All Apps But the Front-most
The manipulationHideis much better thanMinimizein macOS!
So I preferHidetoMinimize.
Tab
⌘ rRefresh⌘ tNew Tab⌘ 0~9Select Tab
( If there are more than 9 tabs,⌘ 9will select the last one. )^ ⇥Next Tab^ ⇧ ⇥Prev Tab⌘ ⇥Next App⌘ ⇧ ⇥Prev App⌘ [Backward⌘ ]Forward
Emacs Mode
A few people know that it’s supported in by default in macOS.
They don’t work, if you append any modifier key to them.
^ f = ←^ b = →^ p = ↑^ n = ↓
^ a = ⌘ ← Home^ e = ⌘ → End
^ t Exchange the Charactors before & after the cursor^ o Insert a Blank Line '\n' after the cursor
^ h = ⌫ Del^ d = Fn ⌫ Forward Del^ k Del to the End of the Line
- They are also enabled in
iTerm2:- Modified by
.zshrcinZshand.vimrcinVim
- Modified by
- Moreover
- Modified by
Keyboard Maestro^ w=⌥ ⌫Del Preceding Word custom^ u= [^ a,^ k] Del the Whole Line custom
These modifications can be supported inKarabinertoo.
- Modified by
- Ref : (Emacs) Keyboard Shortcuts for Editing Text Fields in OS X
Input Sources
Select
Left
^=⌥ 凵Switch Input Source⌘ ^ 凵Emoji & Symbols
Pinyin - Simplified (macOS default)
[Page Up]Page Down⇥Sort By0~9SelectBaidu Input Now I use
^ t[ Simple | Traditional ] Chinese Characters
Activity Monitor
⌘ ⌥ f Filter Processes⌘ ⌥ q Quit the selected Process
Crazy Remappings
What are they used to:
- Remap the key codes.
- Open or Switch to the specified app or URL.
Supported by
Functional Keys = F1 ~ F12
⌥ ⇥ Prefix Key
It’s used to prevent you from launching the unwanted App when pressing its shortcut by accident.
Only when you pressed Pf Key at first and then the App shortcut, did it launch.
Layout 凵
0123 …
凵 1iTerm2凵 2Sublime Text凵 3Firefox凵 4Chrome凵 52Do凵 6System Settings → Keyboard凵 7Keyboard Maestro凵 8Karabiner凵 9Seilasdf …
凵 o=\凵 p=|=⇧ \凵 ;asdfghjkl=0~9Symbols
凵 `=⇧ `=~凵 -=⇧ -=_凵 ==⇧ ==+凵 [=⇧ [={凵 ]=⇧ ]=}凵 \=⇧ \=|凵 '=⇧ '="
Layout ⌥ ⇧ ^
1234 …
⌥ `1Password⌥ 1Script Editor ( AppleScript )⌥ 2System Preferences⌥ 3Notesqwer …
⌥ qQQ⌥ wWeChat⌥ eMail⌥ rPreview⌥ tThunder⌥ uSublime Text⌥ iiTunes⌥ oOpenEmu⌥ pPostman⌥ \1Password ( Mini )⌥ ⇧ QQQMusic⌥ ⇧ WWord⌥ ⇧ PPowerPoint⌥ ⇧ RVS Code⌥ ⇧ EEvernote⌥ ⇧ IPrompt the local IP address^ ⌥ ⇧ EExcel⌥ ]Show Bartender 2⌥ ⇧ ]Show Bartender 2asdf …
⌥ aPyCharm⌥ sPhpStorm⌥ dEuDic Free⌥ fFinder⌥ gAcrobat Reader ( PDF )⌥ hPhotos⌥ jIntelliJ IDEA⌥ kNumi ( Calculator )⌥ lCLion⌥ ;Input the symbol…⌥ ⇧ AActivity Monitor⌥ ⇧ SSafari⌥ ⇧ DDictionary⌥ ⇧ FSearch in All Files⌥ ⇧ JEject the disks⌥ ⇧ KCalculator⌥ ⇧ LSystem Settings → Launch Rocket^ ⌥ ⇧ AApp Storezxcv …
⌥ xXiami Music⌥ cCharles⌥ vClipMenu ( History Menu )⌥ bMindNode (bfor Brainstorm )⌥ nNeteaseMusic⌥ mMessages⌥ ⇧ CCalendar⌥ ⇧ VClipMenu ( Main Menu )⌥ ⇧ BSystem Settings → BlueTooth⌥ ⇧ MSend Clipboard to iPhone by Messages⌥ ⇧ NSystem Settings → Network^ ⌥ ⇧ MSequel Pro ( MySQL )
Layout Fn
Arrange the windows
AkaResize & Movethe windows. ( Frequently Used )
These features can be supported by Moom | Spectacle | Keyboard maestro.Fn dLf 1/2Fn fRg 1/2Fn eLf 3/5Fn rRg 3/5Fn gFit to DesktopFn tFit to Center 1/2Fn qTop Lf 1/4Fn wTop Rg 1/4Fn aBtm Lf 1/4Fn sBtm Rg 1/4Direction Keys
They’re Vim-like.
Fn h=←LfFn j=↓DnFn k=↑UpFn l=→Rg
Layout ⎋
1234 …
⎋ 123456790-==Functional Keys
e.g. Functional keys control Brightness, Music, Volume, Keyboard Light & etc.qwer …
⎋ wWeibo⎋ eSina ERP⎋ rSina Redmineasdf …
⎋ hGitHub⎋ llocalhost:4000zxcv …
⎋ zSina GitLab⎋ bBaidu
Keyboard Maestro
Search in Web
⌘ ^ ⇧ AAmazon⌘ ^ ⇧ BBaidu⌘ ^ ⇧ DDouban⌘ ^ ⇧ GGoogle⌘ ^ ⇧ JJD.com⌘ ^ ⇧ MTmall⌘ ^ ⇧ TTaobao⌘ ^ ⇧ WWeibo⌘ ^ ⇧ ZZhihuAbbrs
Date
Type string
|hm, it will be replaced by the time stringhh:mm
Type|ymd, replaced byyy/MM/dd|Ymd/→YYYY/MM/dd|Ymd-→YYYY-MM-dd
( I abbreviate the similar sentences below like this. )Symbols
|up→↑|dn→↓|lf→←|rg→→|esc→⎋|tab→⇥|cap→⇪|shf→⇧|opt||alt→⌥|cmd→⌘|spa→凵|del→⌫|ret||ent→↩|app→Others
|[a-z]*→ ID card number, my phone number & etc.
Karabiner
Changes not only the shortcuts but also the keyboard key-remappings!
Quit
⌘ q, ⌘ qDouble tap⌘ qto send one real keystroke⌘ qProfile
⌘ ⌥ ^ ⇧ 1Switch to the default setting profile ( without all custom key-remapping )⌘ ⌥ ^ ⇧ 2Switch to the custom_mac setting profile⌘ ⌥ ^ ⇧ 3Switch to the custom_hhkb setting profile
They’re used to toggle the custom setting profile for the guest who need to use my Mac temporarily.Input Sources
Rg
⌥=⌘ 凵Switch Input Source
Seil
Change Modifier-Key-Remapping
⇪Caps →^Lf Ctrl⌘Rg Cmd →⎋Esc^Ctrl → to Chinese Layout ( Baidu Input Method )
Required:System Preferences→Keyboards→Modifier Key:CapsLock→Control,Control→No Action
AppSeil:^Lf Ctrl →F19
AppKarabiner:F19→F17
AppKeyboard Maestro:F17→ to Chinese Layout ( Ref )⇧Lf & Rg Shf |⌘Rg Cmd |⎋Esc → English Input Method
Required:
AppKarabiner: LR⇧| R⌘|⎋will triggerF18as well
AppKeyboard Maestro:F18→ to US English Layout
Contact
⌘ ⇧ N Get All New Mail⌘ ^ s Get All New Mail custom
⌘ r Reply⌘ ⇧ r Reply All
⌘ ⌥ f Mailbox Search
⌘ ^ a Screenshot⌘ ^ r Screen Recording
Two functions above can be used without opening QQ.
⌘ ↑ Select Prev Chat⌘ ↓ Select Next Chat
They can be used in WeChat as well.
⌘ 1 Switch to Messages⌘ 2 Switch to Contacts⌘ 3 Switch to Applications
System Assistant
1Password
⌘ \ Fill Login on current web page⌥ \ Show 1Password Mini
⌘ e Edit⌘ s Save
ClipMenu
⌥ v History Menu⌥ ⇧ V Main Menu
Development
PhpStorm
References
Quick Guide :
PhpStorm→Help→Keymap Reference
Advance Settings :PhpStorm→Preferences…→KeymapRefactor
^ ⌥ tRefactor This^ ⌥ oOptimize Imports⌘ ⌥ lReformat Code
The rules for reformation can be modified in :Preferences→Editor→Code Style→ Select the programming language.F5Copy FileF6Move File⌘ ⌥ eRename$variableName,ClassName,functionName( Auto rename other related code )⌘ ⌥ nInline Variable⌘ ⌥ mExtract Method⌘ ⌥ vExtract Variable⌘ ⌥ FExtract Field⌘ ⌥ cExtract ConstantCode
⌘ /Line Comment⌘ ⌥ /Block Comment⌥ ↑Extend Selection⌥ ↓Shrink Selection⌘ jInsert Live Template^ 凵Auto Complete⌥ ↩Show Intention Actions⌘ ⇧ ↩Complete Current Statement^ ⌥ hToggle Parameter Name^ ⌥ gSelect All OccurrencesDebug
^ ⇧ BToggle Line BreakPoint^ ⇧ EEdit BreakPoint ( Break if conditional is true)^ ⇧ VView BreakPoints^ ⇧ WAdd to Watches^ ⌥ wAdd to Watches^ ⇧ RRun…^ ⇧ ARerun^ ⇧ DDebug^ ⇧ SStop^ ⇧ IStep Into^ ⇧ OStep Out^ ⇧ NResume Program ( Next BreakPoint )^ ⇧ JStep Over ( Next Line )File
⌘ ⇧ CCopy Path^ ⌥ rCopy Reference (File:Line|Class::method())⇧ ↩Open in a new Editor WindowFind
⌘ fFind⌘ ⇧ FFind in Paths⌘ rReplace⌘ ⇧ RReplace in Paths⌘ gFind Next⌘ ⇧ GFind Prev^ ⌥ gToggle Regex^ ⌥ cToggle Case Sensitive^ gFind Usage⌘ oFind Class⌘ ⇧ OFind File⌘ ⌥ oFind Symbols ( Class, Files, Methods, Functions )
Navigate
⌥ F1Select current file or symbol in any view⌘ jNext Method⌘ kPrev Method⌘ eRecent Files⌘ ⇧ ERecently Edited Files⌘ ⇧ TTest Subject : Jump to Test for current file | Create Test for it⌘ ↑Navigation Bar⌘ 1~9Jump to the specified Tool Window | Hide it⌘ 1Project⌘ 2Favorites ( Projects, Bookmarks, Breakpoints )⌘ 3Find⌘ 4Debug
…⌘ 9Version ControlF2Next Highlighted Error⇧ F2Prev Highlighted Error^ mToggle Bookmark^ ⌥ mView Bookmarks^ ⌥ jNext Bookmark^ ⌥ kPrev Bookmark
VCS: History & Compare
⌘ tUpdate Porject from VCS^ ⇧ CCommit Project to VCS⌘ ⌥ g‘VCS’ Operations Quick Popup^ ⌥ lLocal History -> Show History^ ⌥ aGit -> Annotate^ ⌥ vGit -> Compare with the Same Repository Version^ ⌥ bGit -> Compare with Branch …^ ⌥ .Git -> Compare with …^ ⌥ cGit -> Resolve ConflictsTools
⌘ ^ hHide All Tool Windows^ ⌥ qTerminal^ ⌥ sTest RESTful Web Service
IdeaVim
It is the best Vim-Emulator plugin for IDEs from JetBrains.
Its most keys are the same as Vim, so I just list my custom keys.
Tab
HPrev TabLNext TabCtags Like
^ ]Find Declaration^ tBack from DeclarationMimic Emacs in Insert Mode:
^ b=←^ f=→^ p=↑^ n=↓^ a=Home^ e=End^ kDel to End of Line^ uDel to Head of Line^ tExchange Chars ( Before & After Cursor )Vim-Surround
ds*Delete Surround
such asds'ds"ds[ds{ds`dst(tfor HTML Tag ) …ys**Add Surround :
1st*for Postion ( Start or Stop )
2rd*for Surround Char (or HTML Tag)
such asyse'ysW"ysfb[ysTh{…cs**Change Surround
1st*for Current Surround Char
2rd*for New Surround Char
such ascs'"cs[{cst<p>…Tripple h/j/k/l to Normal Mode
hhh|jjj|kkk|lll=⎋
JetBrains
The shortcuts in other IDEs from JetBrains are same as PhpStorm,
such as CLion , IntelliJ IDEA , RubyMine , PyCharm and so on.
All the shortcuts can be modified in Preferences → Keymap!
VS Code
File & Folder
^ rOpen Recent⌘ pQuick Open^ ⇧ wClose WindowView
⌘ ⇧ EExplorer⌘ ⇧ FFind in Files⌘ ⇧ GGit⌘ ⇧ DDebug⌘ ⇧ AExtensions⌘ bToggle Side Bar⌘ jToggle Panel^ ⌥ qToggle TerminalEditor Group
⌘ \Split Editor⌘ ⌥ 1Toggle Editor Group Layout⌘ k, 1~3Switch to Editor Group 1~3Vim
HPrev EditorLNext EditorYCopy to EOL (End of Line)zhMv Editor LfzlMv Editor RgSelection
⌘ dExpand Selection to Word⌘ ⇧ LSplit into LinesFind & Replace
As same as
Sublime Text
Sublime Text
Find & Replace
⌘ fFind⌥ ↩Find All⌘ ⌥ fReplace⌘ ⌥ eReplace one by one^ ⌥ ↩Replace All⌘ ⌥ rToggle Regular Expression⌘ ⌥ rToggle Case SensitiveSelection
⌘ dExpand Selection to Word^ ⇧ MExpand Selection to Brackets⌘ ⇧ LSplit into Lines
Bookmarks
⌘ F2Toggle BookmarkF2Next Bookmark⇧ F2Prev Bookmark⌘ ⇧ F2Clear All BookmarksLayout
⌘ ⌥ 1~41~4 Columns⌘ ⌥ 5Grid⌘ ⌥ ⇧ 2~32~3 RowsCommand Palette…
⌘ pQuick Open File⌘ ⇧ PCommand Palette…⌘ ⇧ CCopy File Path^ sTrim Trailing Whitespace
Charles
Proxy
⌘ r[ Start | Stop ] Recording
Session
⌘ ⌫Clear⌘ oOpen⌘ nNew⌘ sSave Request⌘ ⇧ sSave As …
View
⌘ 1Overview⌘ 2Request⌘ 3Response⌘ 0Sequence⌘ 9Structure
Tools
⌘ ⇧ RRepeat⌘ ⇧ DDNS Spoofing Settings custom⌘ ⌥ mMap Remote⌘ mCompose ( Edit )⌘ ⇧ MCompose New
Script Editor
⌘ ⇧ O Open Dictionary⌘ r Run the script⌘ . Stop the script
CLI
tmux
More details in Official Docs.
^ q Prefix Key ( aka Pf )
The description Pf, * implies that tap Pf at first and then tap the key *.
Pf, ⇧ ? List KeysPf, d Detach ClientPf, c New Window
Pf, \ Split Window HorizontallyPf, - Split Window Vertically
Pf, ^ y Resize Pane LfPf, ^ u Resize Pane DnPf, ^ i Resize Pane UpPf, ^ o Resize Pane Rg
Pf, h Select Lf PanePf, j Select Dn PanePf, k Select Up PanePf, l Select Rg Pane
Pf, ↑ Maximize Current Pane in New WindowPf, ↓ Put Current Pane back to its Parent Window
Pf, [ Use Vim-like keys to copy str at Copy Mode
In Copy Mode:v Begin Selectiony Copy Selectionu Copy Selection & Exit Copy Mode⇧ L Copy Line ( & Exit Copy Mode )
Vim
Only list the useful keys that I’m unfamiliar with here.
Mv Cursor
^ o|^ i[ Prev | Next ] Cursor Pos{|}[ Prev | Next ] Blank Linew|⇧ WHead of Next [ Word / Str ]e|⇧ ETail of Next [ Word / Str ]b|⇧ BHead of Prev [ Word / Str ]ge|gETail of Prev [ Word / Str ];Repeat the last manipulation aboutft⇧ F⇧ T0Head of Line^=⇧ 6Head of Line ( Non-Whitespace )$=⇧ 4End of Line
Select Range
ciwDel WordcawDel Word including the Following Spaces 凵dwDel until Head of Next WorddeDel to End of Cur Wordci*Select & Manipulate the string surrounded by*.ca*Select & Manipulate the string surrounded by*including*.Column Edit Mode
Example:
- In normal mode
^ vthen select a block area ⇧ Ithen type some string to insert⎋,⎋( Twice ) to apply the insertion at each line heading of the selected block area
- In normal mode
Search & Replace
:%s/search_str/replace_str/gci:switch to Command Mode%find each occurence ofsearch_strsreplace operationgreplace globallycask for confirmationicase insensitive ,Icase sensitive
:'<,'>s/foo/bar/g'<,'>replace within a visual selection (when compiled with +visual)
:5,12$/foo/bar/g5,12start from line 5 to the line 12
:.,$/foo/bar/g.,$start from the current line to the last line
:.,+2s/foo/bar/g.,+2start from the current line to the next two lines
:'a,'bs/foo/bar/g'a,'bstart from the mark a to the mark b
:g/^baz/s/foo/bar/g- Change each ‘foo’ to ‘bar’ in each line starting with ‘baz’
- Ref : Search and replace & Vim 字符串替换及小技巧
Command
.Repeat CommandCp
⇧ YCopy from the cursor to the end of lineDel
xDel Char Forward ⌦⇧ XDel Char Backward ⌫sDel Char Forward & then Insert⇧ SDel Current Line & then Insert⇧ CDel to End of Line & then Insert⇧ DDel to End of LineExchange
xpExchange the Current Char and the Next CharddpExchange the Current Line and the Next LineLower or Upper Case
⇧ ~Toggle Case & Mv Cursor to Next charuto Lowercase⇧ Uto UppercaseIncrease or Decrease Num
In Normal Mode:
^ aIncrease Num^ xDecrease NumMacro
q a~z|A~ZStart Recording Macro marked asa~z|A~ZqStop Recording@ a~z|A~ZPlay Macro marked asa~z|A~Z@@Repeat Macro that you last used
Save & Quit
⇧ ZZSave & Quit⇧ ZQQuit without SavingCTags ( plugin )
^ ]Find Declaration^ tBack from DeclarationMimic Emacs in Insert Mode
^ b=←^ f=→^ p=↑^ n=↓^ a=Home^ e=End^ kDel to End of Line^ uDel to Head of Line^ tExchange Chars ( Before & After Cursor )Tripple h/j/k/l to Normal Mode
hhh|jjj|kkk|lll=⎋
- I used to use the Vim Distribution
spf13-vim. - Vim Cheat Sheet - Image
- More details in Official Docs.
- TODO: I will write another article for Vim and will move the content above about Vim to it._
Zsh
^ v Edit Command Line in Vim
Emacs Mode
^ aMv Cursor to Head of Line^ eMv Cursor to End of Line^ wDel Word^ kDel to End of Line^ uDel Line^ p=↑Prev | Up^ n=↓Next | Dn^ fMv Cursor Rg ( I useFn linstead. )^ bMv Cursor Lf ( I useFn hinstead. )^ hDel Backward ⌫ ( I used to use⌫. )^ dDel Forward ⌦ ( seldom used )^ lClear ScreenExtra
^ _Undo^ yYank⎋,fForward Word⎋,bBackward Word⎋,hRun Help for current Cmd⎋,'Quote Line⎋,qPush Line⎋,gGet Line^ x,aExpand Alias^ x,^ vVi Cmd Mode^ x,^ eEdit Command Line in Vim^ x,^ bVi Macth BracketAliases
- oh-my-zsh & my fork
- More details in Official Docs.
Other Tools
2Do
I don’t want to list all its shortcuts, as there are so many…
⌘ s Sync
View
⌘ 0Inbox⌘ 1All⌘ 2Today⌘ 3Starred⌘ 4Scheduled⌘ 5Done⌘ ↑Prev List⌘ ↓Next List⌘ ⌥ ↑|↓[ Collapse | Expand ] All Projects⌘ ⇧ ↑|↓[ Collapse | Expand ] All List GroupsEdit
0 ~ 3Priority : None | Low | Medium | HighsStar^ sUnstardDue DateeDue TimekSchedule ( Start Date )tStart Today^ tDue TodayyStart Yesterday⌘ /Dates⌘ eNotes⌘ ^ ⇧ 1Convert to a Task⌘ ^ ⇧ 2Convert to a Project⌘ ^ ⇧ 3Convert to a Checklist⌘ lMove to another list
MindNode
File
⌥ ↩New Mind Map⌥ →Next Mind Map⌥ ←Prev Mind MapNew
↩Append New Sibling⇧ ↩Prepend New Sibling⇥New Child⇧ ⇥New ParentEdit
⌘ ↩Edit Title ( Current )⌘ ⇧ KNote Popover⌘ ⇧ TAdd / Rm Task ( Check Box )⌘ ⇧ UToggle Task⌘ kAdd Link⌘ lAdd Connection ( to Another Node )Move
⌘ ↑Move Above Sibling⌘ ↓Move Below Sibling⌘ ⇧ DDetach Node
Fold
⌘ ⌥ ←Fold Node⌘ ⌥ →Unfold Node⌘ ⌥ ↑Fold All Nodes⌘ ⌥ ↓Unfold All NodesSelect
⌘ ⌥ aAll Subnodes
Evernote
Note
⌘ ^ sSync
Edit
⌘ ⇧ HInsert Horizontal Rule⌘ ⇧ TInsert To-DoAfter Selection, then input:
⇥Increase Indent⇧ ⇥Decrease Indent⌘ ^ cCode Block⌘ ^ kStrikethrough⌘ kAdd Link⌘ ⇧ KRm Link⌘ ⇧ FSimplify ( Rm ) Formatting⌘ ⇧ VCopy and Match Style⌘ ⇧ OToggle Numbered List ( Ordered )⌘ ⇧ UToggle Bulleted List ( Unordered )
Input
*,凵→ Bulleted List1.,凵→ Numbered ListIn a new line, input
-3 times,↩- insert Horizontal Rule
In a new line, input`3 times,↩- insert Code Quote
Web Clipper
Activate
^ `Open Clip Mode⎋ExitAfter activation
⇧ AAll Main Text⇧ CMain Text without Advertisement⇧ FFull Web Page⇧ BClip as a Bookmark⇧ MCapture↑Extend Selection↓Shrink Selection↩Save
Firefox
Common
⌘ lEdit Address Bar⌘ jDownloads⌘ bBookmarks ( Badly Use )⌘ ⇧ BManage Bookmarks⌘ ⇧ HToggle History⌘ ⇧ AExtensionsDevelopment
⌘ ⌥ iInspect Elements⌘ uPage Source Code
VimFX
It is a Vim-Emulator extension in Firefox.
Input
cInput in Address BariInput in First Input BoxLink
fOpen Link in Current TabFOpen Link in New Tab^ fOpen Links in New TabsCCopy URL of Current Tab to ClipboardHint ( After
f|Fand the link )⌫Delete the Last Hint Character凵|⇧ 凵Switch Hint Layout
Tab
Open Tab
tNew at the Last of TabsTNew at the Rg of Cur TabSDuplicatevOpen URL in Clipboard in Current TabVOpen URL in Clipboard in New TabSwitch Tab
wto Preveto Next0=!=1=)to First4=$to Last⇧ 6to First Unpined TopMove Tab
Wto LfEto RgClose Tab
xClose Current TabRegret Op
XReopen Last Closed Tab^ xList of Last Closed Tabs of Tabs^ pPin / Unpin
Scroll
Vertical
ggto TopG=geto Btmj=凵Dn a Half Pagek=⇧ 凵Up a Half PagedDn a Whole PageqUp a Whole PageHorizontal
hLflRgSpecified Pos
m, a~zMark the Page Pos represented by ‘a~z’`, a~z=', z~zto the Mark represented by ‘a~z’
Navigate
zBackwardbForward[Prev Page]Next PagegHCur Tab Visit History Menu
Load
rRefreshRRefresh ( including Cache )
Find
/Finda/Find AllnNext MatchNPrev Match
Visual
^ cCopy Element Text^ iEnter Visual Mode & Put Cursor at Head of Element^ sEnter Visual Mode & Select Element Text^ nExit Visual Mode^ vSelect Focus PointVisual Mode
vStart / Cancel SelectionoSwitch Cursor between Head and End of SelectionyCopy Selection & Exit Visual Modeh← Lfj↓ Dnk↑ Upl→ Rg^ aMv to Head of the line^ eMv to End of the LinewMv to Head of Next WordbMv to Head of Prev Word
Others
QClick Elements of BrowserIEnter Ignore Mode ( Ignore All VimFX Shortcuts )^ nExit Ignore Mode ( Back to Normal Mode )gBEdit VimFX Blacklist?Help Tips⎋|^ [Cancel
NeteaseMusic
凵 Play | Pause⌘ → Next⌘ ← Prev⌘ ↑ Volume Up⌘ ↓ Volume Down
ShadowsocksX-NG
^ ⌥ ⇧ P Toggle Shadowsocks On / Off^ ⌥ p Toggle Proxy Mode: Auto PAC / Global
Show Comments