034. My shortcut.

Thach
Written by Thach on
034. My shortcut.

Note lại tất cả những phím tắt đang dùng hiện tại.

1.Gotiengviet

Install Gotiengviet

Option (⌥) + Space : Switch between Vietnamese/English keyboard

2. Chrome

Command (⌘) + T               : Open new tab
Command (⌘) + W               : Close tab
Command (⌘) + 1               : Select the first tab
Command (⌘) + 9               : Select the last tab
Command (⌘) + L               : Select the address bar
Control (⌃) + Tab             : Select the next tab
Control (⌃) + Shift (⇧) + Tab : Select the previous tab

3. Rearrange Tabs (Chrome extension)

Control (⌃) + Command (⌘) + Right : move selected tab to the right
Control (⌃) + Command (⌘) + Left  : move selected tab to the left

Control (⌃) + Command (⌘) + Up    : Move tab to the most left
Control (⌃) + Command (⌘) + Down  : Move tab to the most right

4. VScode

Command (⌘) + P               : Search for a file
Command (⌘) + \               : Split editor
Command (⌘) + K + M           : Expand maximum current tab
Command (⌘) + F               : Search in current file
Command (⌘) + Shift (⇧) + F   : Search in whole project
Command (⌘) + D               : Select next occurrence of current selection
Command (⌘) + Z               : Undo
Command (⌘) + Y               : Redo

Option (⌥) + Up               : Move current line up
Option (⌥) + Down             : Move current line down
Option (⌥) + Shift (⇧) + Up   : Copy current line up
Option (⌥) + Shift (⇧) + Down : Copy current line down

Command (⌘) + B               : Toggle the Side Bar
Command (⌘) + Shift (⇧) + E   : Focus Directly on the Explorer
Command (⌘) + Shift (⇧) + N   : explorer.newFile
Command (⌘) + Shift (⇧) + K   : explorer.newFolder
Command (⌘) + Backspace       : Delete File/Folder

4.1 VScode setting

{
    "files.trimTrailingWhitespace": true,
    "editor.tabSize": 2,
    "editor.indentSize": "tabSize",
    "editor.insertSpaces": true,
    "editor.minimap.enabled": false,
    "editor.formatOnSave": true,
    "editor.formatOnPaste": true,
    "window.zoomLevel": 1,
    "files.insertFinalNewline": true,
    "editor.rulers": [
        120
    ]
}

5.MacOS

Command (⌘) + Space           : Spotlight
Control (⌃) + S               : Move current window to secondary screen
Control (⌃) + X               : Move current window to primary screen

Command (⌘) + Tab             : Switch between open apps
Command (⌘) + Shift (⇧) + Tab : Switch between open apps in reverse order
Command (⌘) + ~               : Switch between windows in same app
Command (⌘) + Q               : Quit app

Command (⌘) + Shift (⇧) + 3   : Screenshot full screen
Command (⌘) + Shift (⇧) + 4   : Screenshot selected area
Command (⌘) + Shift (⇧) + 5   : Record video

Comments

comments powered by Disqus