Skip to content

Commit

Permalink
feat(w): add editor layout bindings (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoieni authored Feb 29, 2024
1 parent c777f2e commit c04b574
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/keys/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,30 @@ export function windowKeys(): UserMenu {
icon: "combine",
command: "workbench.action.joinAllGroups",
},
{
key: "1",
name: "Single column window layout",
icon: "editor-layout",
command: "workbench.action.editorLayoutSingle",
},
{
key: "2",
name: "Double column window layout",
icon: "editor-layout",
command: "workbench.action.editorLayoutTwoColumns",
},
{
key: "3",
name: "Triple column window layout",
icon: "editor-layout",
command: "workbench.action.editorLayoutThreeColumns",
},
{
key: "4",
name: "Grid window layout",
icon: "editor-layout",
command: "workbench.action.editorLayoutTwoByTwoGrid",
},
],
};
}
Expand Down
9 changes: 9 additions & 0 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ function HomepageHeader() {
<p className="hero__subtitle">
<b>Mnemonic</b> key bindings for <b>VSCode</b> commands ⌨️
</p>
<div className={styles.buttons}>
<Link
style={{ marginRight: 10 }}
className="button button--secondary button--lg"
to="/docs"
>
Get Started️
</Link>
</div>
</div>
</header>
);
Expand Down

0 comments on commit c04b574

Please sign in to comment.