Skip to content

Commit

Permalink
fix: merge
Browse files Browse the repository at this point in the history
  • Loading branch information
张东 authored and 张东 committed Nov 27, 2024
2 parents b77b06e + b25916d commit 7399fd2
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,10 @@ export default defineConfig({
"/vscode/": [
{
text: "vscode",
items: [{ text: "插件", link: "/vscode/extension" }],
items: [
{ text: "插件", link: "/vscode/extension" },
{ text: "快捷键", link: "/vscode/keybinding" },
],
},
],
"/node/": [
Expand Down
55 changes: 55 additions & 0 deletions vscode/keybinding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
layout: doc
outline: deep
---
:::tip :rocket:
注意快捷键是否有冲突
:::
## general

<details>
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">打开命令面板</summary>
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+Shift+P</code> 或 <code>F1</code></p>
</details>
<details>
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">查找文件</summary>
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+P</code></p>
</details>
<details>
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">打开新窗口</summary>
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+Shift+N</code></p>
</details>
<details>
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">关闭窗口</summary>
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+Shift+W</code></p>
</details>

## Basic editing
<details>
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">一行向上/下移动</summary>
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Alt+ ↑ / ↓ </code></p>
</details>
<details>
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">向上/下复制一行</summary>
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Shift+Alt + ↓ / ↑</code></p>
</details>
<details>
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">删除</summary>
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+Shift+K</code></p>
</details>
<details>
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">在下方插入一行</summary>
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+Enter</code></p>
</details>
<details>
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">在上方插入一行</summary>
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+Shift+Enter</code></p>
</details>
<details>
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">调整缩近</summary>
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+]/[</code></p>
</details>
<details>
<summary style="cursor: pointer; font-weight: bold; color: #007acc;">跳转到匹配的括号</summary>
<p style="margin-left: 20px; font-family: monospace; color: #333;">快捷键: <code>Ctrl+]/[</code></p>
</details>

0 comments on commit 7399fd2

Please sign in to comment.