Files
Fechin 172342c8a3 feat: modernize development toolchain
- Add comprehensive development tooling:
  * ESLint configuration with modern JavaScript rules
  * Prettier for consistent code formatting
  * Husky for Git hooks automation
  * lint-staged for pre-commit checks
  * Conventional Commits with commitlint
  * Stylelint for CSS code quality

- Fix CSS issues:
  * Resolve duplicate selectors in layout_note.css
  * Merge duplicate selectors in layout_list.css
  * Ensure stylelint compliance

- Apply consistent code formatting:
  * Format all JavaScript, CSS, and Markdown files
  * Standardize code style across the project
  * Fix console statement warnings in main.js

- Update project documentation:
  * Enhance README with modern development practices
  * Update package.json with new scripts and dependencies

This modernization establishes a robust development environment with
automated code quality checks, consistent formatting~
2025-06-18 14:09:17 +08:00

208 lines
8.9 KiB
Markdown

---
title: Notion Shortcuts
date: 2025-04-24 12:51:00 # You might want to adjust this date
background: bg-gradient-to-l from-gray-400 to-gray-600 hover:from-blue-500 hover:to-purple-500 # Notion-like gradient, adjust as desired
tags:
- notion
- keyboard
- shortcuts
- productivity
- reference
categories:
- Productivity
- Software
intro:
A comprehensive quick reference guide for Notion keyboard shortcuts on Desktop and Web, designed to boost your
productivity.
plugins:
- copyCode
---
# Notion Keyboard Shortcuts {.cols-3}
## Most Popular / Essential {.col-span-3}
### Create & Navigate
| Action | Mac Shortcut | Windows/Linux Shortcut |
| :--------------------------- | :----------------------- | :--------------------- |
| Create a new page | `Cmd` `N` | `Ctrl` `N` |
| Open new Notion window | `Cmd` `Shift` `N` | `Ctrl` `Shift` `N` |
| Quick Find (Search) | `Cmd` `P` | `Ctrl` `P` |
| Go back in page history | `Cmd` `[` | `Ctrl` `[` |
| Go forward in page history | `Cmd` `]` | `Ctrl` `]` |
| Go to parent page | `Cmd` `Shift` `U` | `Ctrl` `Shift` `U` |
| Open Page Link in New Tab | `Cmd` `Click` | `Ctrl` `Click` |
| Open Page Link in New Window | `Option` `Shift` `Click` | `Alt` `Shift` `Click` |
{.show-header .shortcuts}
### View & Mode
| Action | Mac Shortcut | Windows/Linux Shortcut |
| :----------------------- | :----------------------- | :------------------------ |
| Toggle Dark/Light Mode | `Cmd` `Shift` `L` | `Ctrl` `Shift` `L` |
| Lock/Unlock current page | `Cmd` `Shift` `L` (Hold) | `Ctrl` `Shift` `L` (Hold) |
| Zoom In | `Cmd` `+` | `Ctrl` `+` |
| Zoom Out | `Cmd` `-` | `Ctrl` `-` |
| Reset Zoom | `Cmd` `0` | `Ctrl` `0` |
{.show-header .shortcuts}
---
# Markdown Style Formatting {.cols-1}
### On New Lines
Type the following at the beginning of an empty line, then press `Space`:
- `*`, `-`, or `+` : Bulleted list
- `[]` : To-do checkbox (Note: just the characters, no `Cmd`/`Ctrl`)
- `1.` : Numbered list
- `#` : H1 heading
- `##` : H2 heading
- `###` : H3 heading
- `>` : Toggle list
- `"` : Quote block
- `---` : Divider (three hyphens)
- ` ` : Code block (three backticks)
### Inline
- Wrap text with `**` or `__` for **Bold**.
- Wrap text with `*` or `_` for _Italics_.
- Wrap text with `~` for ~~Strikethrough~~.
- Wrap text with `` ` `` for `inline code`.
---
# Text Formatting & Editing {.cols-2}
### Basic Formatting
Select text first, then use the shortcut: | Action | Mac Shortcut | Windows/Linux Shortcut | |
:------------------------- | :------------------------ | :----------------------- | | Bold | `Cmd` `B` | `Ctrl` `B` | |
Italic | `Cmd` `I` | `Ctrl` `I` | | Underline | `Cmd` `U` | `Ctrl` `U` | | Strikethrough | `Cmd` `Shift` `S` | `Ctrl`
`Shift` `S` | | Inline Code | `Cmd` `E` | `Ctrl` `E` | | Create Link | `Cmd` `K` | `Ctrl` `K` | | Change Color /
Highlight | `Cmd` `Shift` `H` | `Ctrl` `Shift` `H` | | Clear Formatting | `Cmd` `\` | `Ctrl` `\` | {.show-header
.shortcuts}
### Block Type Conversion
Select the block(s) first, then use the shortcut: | Action | Mac Shortcut | Windows/Linux Shortcut | |
:------------------------- | :------------------------ | :----------------------- | | Turn into Text block | `Cmd`
`Option` `0` | `Ctrl` `Alt` `0` | | Turn into H1 Heading | `Cmd` `Option` `1` | `Ctrl` `Alt` `1` | | Turn into H2
Heading | `Cmd` `Option` `2` | `Ctrl` `Alt` `2` | | Turn into H3 Heading | `Cmd` `Option` `3` | `Ctrl` `Alt` `3` | |
Turn into To-do list | `Cmd` `Option` `4` | `Ctrl` `Alt` `4` | | Turn into Bulleted list | `Cmd` `Option` `5` | `Ctrl`
`Alt` `5` | | Turn into Numbered list | `Cmd` `Option` `6` | `Ctrl` `Alt` `6` | | Turn into Toggle list | `Cmd` `Option`
`7` | `Ctrl` `Alt` `7` | | Turn into Code block | `Cmd` `Option` `8` | `Ctrl` `Alt` `8` | | Turn into Page | `Cmd`
`Option` `9` | `Ctrl` `Alt` `9` | | Turn into Callout | `Cmd` `Option` `C` | `Ctrl` `Alt` `C` | {.show-header
.shortcuts}
### Editing
| Action | Mac Shortcut | Windows/Linux Shortcut |
| :------------------------- | :-------------- | :--------------------- |
| New Line within same block | `Shift` `Enter` | `Shift` `Enter` |
{.show-header .shortcuts}
---
# Creating & Modifying Blocks {.cols-2}
### Creation & Selection
| Action | Mac Shortcut | Windows/Linux Shortcut |
| :----------------------------------------- | :------------------ | :--------------------- |
| Create new text block below | `Enter` | `Enter` |
| Open the `/` command menu | `/` | `/` |
| Select current block | `Esc` | `Esc` |
| Select parent block | `Shift` `Esc` | `Shift` `Esc` |
| Select block above/below | `Up` / `Down` | `Up` / `Down` |
| Select multiple blocks | `Shift` `Up`/`Down` | `Shift` `Up`/`Down` |
| Select all blocks | `Cmd` `A` | `Ctrl` `A` |
| Edit selected block (or text within block) | `Enter` | `Enter` |
{.show-header .shortcuts}
### Moving & Structuring
| Action | Mac Shortcut | Windows/Linux Shortcut |
| :-------------------------------------- | :------------------------- | :------------------------- |
| Duplicate selected block(s) | `Cmd` `D` | `Ctrl` `D` |
| Move selected block(s) up/down | `Cmd` `Shift` `Up`/`Down` | `Ctrl` `Shift` `Up`/`Down` |
| Indent block (nest) | `Tab` | `Tab` |
| Un-indent block | `Shift` `Tab` | `Shift` `Tab` |
| Expand/Collapse toggle list | `Cmd` `Option` `T` | `Ctrl` `Alt` `T` |
| Expand/Collapse all toggles | `Cmd` `Option` `Shift` `T` | `Ctrl` `Alt` `Shift` `T` |
| Open page from selected link/page block | `Cmd` `Enter` | `Ctrl` `Enter` |
| Delete selected block(s) | `Delete` or `Backspace` | `Delete` or `Backspace` |
| Turn block into a page | `Cmd` `Option` `9` | `Ctrl` `Alt` `9` |
| Move block(s) to another page | `Cmd` `Option` `Shift` `M` | `Ctrl` `Alt` `Shift` `M` |
{.show-header .shortcuts}
---
# Comments & Mentions {.cols-2}
### Comments
| Action | Mac Shortcut | Windows/Linux Shortcut |
| :----------------------- | :---------------- | :--------------------- |
| Add comment to selection | `Cmd` `Shift` `M` | `Ctrl` `Shift` `M` |
{.show-header .shortcuts}
### Mentions & Links (Type in block)
- `@` + person's name: Mention a person
- `@` + page title: Mention/link a page
- `[[` + page title: Link another page
- `+` + page title: Link another page (alternative)
- `@` + date (e.g., `@today`, `@next tuesday`, `@1/15`): Add a date mention
- `@remind` + date + time (optional): Set a reminder
### Emoji
| Action | Mac Shortcut | Windows/Linux Shortcut |
| :-------------------- | :--------------------- | :--------------------- |
| Emoji Picker (System) | `Cmd` `Ctrl` `Space` | `Win` `.` or `Win` `;` |
| Emoji Picker (Notion) | `:` + emoji name + `:` | `:` + emoji name + `:` |
{.show-header .shortcuts}
---
# Database Shortcuts {.cols-2}
### Navigation & Selection
| Action | Mac Shortcut | Windows/Linux Shortcut |
| :------------------------- | :-------------------- | :--------------------- |
| Select row above/below | `Shift` `Up`/`Down` | `Shift` `Up`/`Down` |
| Open selected page(s) | `Cmd` `Enter` | `Ctrl` `Enter` |
| Edit property | `Enter` | `Enter` |
| Move to cell above/below | `Shift` `Enter` | `Shift` `Enter` |
| Move to cell left/right | `Tab` / `Shift` `Tab` | `Tab` / `Shift` `Tab` |
| Select column | `Cmd` `Shift` `K` | `Ctrl` `Shift` `K` |
| Select multiple cards/rows | `Shift` `Click` | `Shift` `Click` |
{.show-header .shortcuts}
### Other
| Action | Mac Shortcut | Windows/Linux Shortcut |
| :------------------------- | :---------------- | :--------------------- |
| Quick Find within Database | `Cmd` `Shift` `P` | `Ctrl` `Shift` `P` |
{.show-header .shortcuts}
---
## Also see
- [Official Notion Keyboard Shortcuts](https://www.notion.so/help/keyboard-shortcuts) _(notion.so)_