Skip to content

Commit

Permalink
feat: add description to mappings page
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Nov 10, 2023
1 parent 6fcb3ca commit 5ed096b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 106 deletions.
8 changes: 4 additions & 4 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,15 @@ export default defineConfig({
translations: {},
},
{
label: "Using these docs",
link: "/using_the_docs",
label: "Mappings",
link: "/mappings",
collapsed: true,
translations: {},
},
{
label: "Basic Usage",
label: "Using these docs",
link: "/using_the_docs",
collapsed: true,
autogenerate: { directory: "basic-usage" },
translations: {},
},
{
Expand Down
95 changes: 0 additions & 95 deletions src/content/docs/basic-usage/walkthrough.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
---
id: mappings
title: Default Mappings
sidebar:
# Set a custom label for the link
label: Mappings
# Set a custom order for the link (lower numbers are displayed higher up)
order: 0
# Add a badge to the link
title: Mappings
---

AstroNvim generally relies on `<Leader>` driven mappings, which is default set to `<Space>`. For information on what the `<Leader>`, check out the [`:h mapleader`](https://neovim.io/doc/user/map.html#mapleader). [`which-key.nvim`](https://github.com/folke/which-key.nvim) is also used to provide help for discovering and remembering these mappings. Simply press a key like `<Space>` and a help menu will pop up with labelled menus and options.

## General Mappings

| Action | Mappings |
Expand Down

0 comments on commit 5ed096b

Please sign in to comment.