From e21867b8ab359c6d2e48f53249a26aa47a1b0083 Mon Sep 17 00:00:00 2001 From: Esteban Herrera Date: Sat, 2 Dec 2023 00:13:14 -0600 Subject: [PATCH] Reorganize command sections --- assets/docs/Keyboard Shortcuts Cheat Sheet.md | 117 +++++++++--------- 1 file changed, 58 insertions(+), 59 deletions(-) diff --git a/assets/docs/Keyboard Shortcuts Cheat Sheet.md b/assets/docs/Keyboard Shortcuts Cheat Sheet.md index aae05ddb..a197d51f 100644 --- a/assets/docs/Keyboard Shortcuts Cheat Sheet.md +++ b/assets/docs/Keyboard Shortcuts Cheat Sheet.md @@ -1,4 +1,4 @@ -# Commbase Visual Studio Code Keyboard Shortcuts +# Commbase Visual Studio Code Keyboard Shortcuts # Keyboard Shortcuts Cheat Sheet @@ -13,36 +13,36 @@ These group of shortcuts are defined in the directory **scripts/configuration/ke ## Bash -`Ctrl` + `A` : Move to the start of the command line. -
`Ctrl` + `E` : Move to the end of the command line. -
`Ctrl` + `F` : Move one character forward. -
`Ctrl` + `B` : Move one character backward. -
`Ctrl` + `XX` : Switch cursor position between start of the command line and the current position. -
`Ctrl` + `]` + `x` : Move the cursor forward to next occurrence of x. -
`Alt` + `F` / `Esc` + `F` : Move the cursor one word forward. -
`Alt` + `B` / `Esc` + `B` : Move the cursor one word backward. -
`Alt` + `Ctrl` + `]` + `x` : Move cursor to the previous occurrence of x. +`CTRL` + `A` : Move to the start of the command line. +
`CTRL` + `E` : Move to the end of the command line. +
`CTRL` + `F` : Move one character forward. +
`CTRL` + `B` : Move one character backward. +
`CTRL` + `XX` : Switch cursor position between start of the command line and the current position. +
`CTRL` + `]` + `X` : Move the cursor forward to next occurrence of x. +
`ALT` + `F` / `ESC` + `F` : Move the cursor one word forward. +
`ALT` + `B` / `ESC` + `B` : Move the cursor one word backward. +
`ALT` + `CTRL` + `]` + `X` : Move cursor to the previous occurrence of x. ### Bash Control/Process -`Ctrl` + `L` : Clear the terminal screen. -
`Ctrl` + `S` : Stop command output to the screen. -
`Ctrl` + `Z` : Suspend current command execution and move it to the background. -
`Ctrl` + `Q` : Resume suspended command. -
`Ctrl` + `C` : Send SIGI signal and kill currently executing command. -
`Ctrl` + `D` : Close the current terminal. +`CTRL` + `L` : Clear the terminal screen. +
`CTRL` + `S` : Stop command output to the screen. +
`CTRL` + `Z` : Suspend current command execution and move it to the background. +
`CTRL` + `Q` : Resume suspended command. +
`CTRL` + `C` : Send SIGI signal and kill currently executing command. +
`CTRL` + `D` : Close the current terminal. ### Bash History -`Ctrl` + `R` : Incremental reverse search of bash history. -
`Alt` + `P` : Non-incremental reverse search of bash history. -
`Ctrl` + `J` : End history search at current command. -
`Ctrl` + `_` : Undo previous command. -
`Ctrl` + `P` / `Up arrow` : Move to previous command. -
`Ctrl` + `N` / `Down arrow` : Move to next command. -
`Ctrl` + `S` : Get the next most recent command. -
`Ctrl` + `O` : Run and re-enter the command found via Ctrl + S and Ctrl + R. -
`Ctrl` + `G` : Exit history search mode. +`CTRL` + `R` : Incremental reverse search of bash history. +
`ALT` + `P` : Non-incremental reverse search of bash history. +
`CTRL` + `J` : End history search at current command. +
`CTRL` + `_` : Undo previous command. +
`CTRL` + `P` / `UP ARROW` : Move to previous command. +
`CTRL` + `N` / `DOWN ARROW` : Move to next command. +
`CTRL` + `S` : Get the next most recent command. +
`CTRL` + `O` : Run and re-enter the command found via CTRL + S and CTRL + R. +
`CTRL` + `G` : Exit history search mode.
`!!` : Run last command.
`!*` : Run previous command except its first word.
`!*:p` : Display what !* substitutes. @@ -60,26 +60,26 @@ These group of shortcuts are defined in the directory **scripts/configuration/ke ### Bash Editing -`Ctrl` + `U` : Delete before the cursor until the start of the command line. -
`Ctrl` + `K` : Delete after the cursor until the end of the command line. -
`Ctrl` + `W` : Remove the command/argument before the cursor. -
`Ctrl` + `D` : Remove the character under the cursor. -
`Ctrl` + `H` : Remove character before the cursor. -
`Alt` + `D` : Remove from the character until the end of the current word. -
`Alt` + `Backspace` : Remove from the character until the start of the current word. -
`Alt` + `.` / `Esc` + `.` : Use last argument of the previous command. -
`Alt` + `<` : Move to the first line of the bash history. -
`Alt` + `>` : Move to the last line of the bash history. -
`Esc` + `T` : Switch between last two words before cursor. -
`Alt` + `T` : Switch current word with the previous. +`CTRL` + `U` : Delete before the cursor until the start of the command line. +
`CTRL` + `K` : Delete after the cursor until the end of the command line. +
`CTRL` + `W` : Remove the command/argument before the cursor. +
`CTRL` + `D` : Remove the character under the cursor. +
`CTRL` + `H` : Remove character before the cursor. +
`ALT` + `D` : Remove from the character until the end of the current word. +
`ALT` + `BACKSPACE` : Remove from the character until the start of the current word. +
`ALT` + `.` / `ESC` + `.` : Use last argument of the previous command. +
`ALT` + `<` : Move to the first line of the bash history. +
`ALT` + `>` : Move to the last line of the bash history. +
`ESC` + `T` : Switch between last two words before cursor. +
`ALT` + `T` : Switch current word with the previous. ### Bash Information `TAB` : Autocomplete the command or file/directory name.
`~TAB TAB`: List all Linux users. -
`Ctrl` + `I`: Complete the command like TAB. -
`Alt` + `?` : Display files/folders in the current path for help. -
`Alt` + `*` : Display files/folders in the current path as parameter. +
`CTRL` + `I`: Complete the command like TAB. +
`ALT` + `?` : Display files/folders in the current path for help. +
`ALT` + `*` : Display files/folders in the current path as parameter. ## Desktop Environment and Operating System @@ -106,10 +106,6 @@ These group of shortcuts are defined in the directory **scripts/configuration/ke
`CTRL` + `SHIFT` + `C` : Copy highlighted text from terminal.
`CTRL` + `SHIFT` + `V` : Paste clipboard text into terminal. -## Neovim / Emacs - -When using Neovim or Emacs, make sure that the custom keyboard shortcuts do not interfere one another in the complete list. - ## OBS `ALT` + `SHIFT` + `4` : Start recording. @@ -117,28 +113,28 @@ When using Neovim or Emacs, make sure that the custom keyboard shortcuts do not
`ALT` + `SHIFT` + `6` : Start streaming.
`ALT` + `SHIFT` + `7` : Stop streaming. -## SimpleScreenRecorder +## SimplESCreenRecorder -`SUPER` + `S` : Start recording. +`SUPER`/ `META` + `S` : Start recording. + +## Oh My Tmux + +`PREFIX` + `B` , `1-9` : Switch windows by their number IDs. +
`PREFIX` + `B` , `Q` : Display pane numbers. +
`PREFIX` + `B` , `SHIFT` : Split pane vertically. +
`PREFIX` + `B` + `ARROWS` : Resize the active pane. +
`PREFIX` + `B` , `ARROWS` : Switch panes. + +Default PREFIX = CTRL ## Text Editors and IDEs -CTRL X Cut. -`CTRL` + `C` : Copy. +`CTRL` + `X`: Cut. +
`CTRL` + `C` : Copy.
`CTRL` + `V` : Paste.
`CTRL` + `F` : Find.
`CTRL` + `N` : Create new file. -## Oh My Tmux - -`Prefix` + `B` , `1-9` : Switch windows by their number IDs. -
`Prefix` + `B` , `Q` : Display pane numbers. -
`Prefix` + `B` , `SHIFT` : Split pane vertically. -
`Prefix` + `B` + `ARROWS` : Resize the active pane. -
`Prefix` + `B` , `ARROWS` : Switch panes. - -Default Prefix = CTRL - ## VS Code `CTRL` + `SHIFT` + `P` : View Command Palette. @@ -148,7 +144,10 @@ Default Prefix = CTRL When using VS Code, make sure that the custom keyboard shortcuts do not interfere with each other in the complete list. +## Neovim / Emacs + +When using Neovim or Emacs, make sure that the custom keyboard shortcuts do not interfere one another in the complete list. + ## Web Browser Click on a browser's tab and then use the roller to move through the tabs. -