From 7984d760a1a7e9aa11919924bf867de62d88fc41 Mon Sep 17 00:00:00 2001
From: Matt Leong
Date: Tue, 8 Feb 2022 08:08:14 -0800
Subject: [PATCH] feat(readme): update mapping links
---
.markdownlint.yaml | 8 ++++++++
readme.md | 43 ++++++++++++++++++++++++-------------------
2 files changed, 32 insertions(+), 19 deletions(-)
create mode 100644 .markdownlint.yaml
diff --git a/.markdownlint.yaml b/.markdownlint.yaml
new file mode 100644
index 0000000..72e850e
--- /dev/null
+++ b/.markdownlint.yaml
@@ -0,0 +1,8 @@
+MD033:
+ # Allowed elements
+ allowed_elements: [p, details, summary, a, img, h1]
+
+# MD013/line-length - Line length
+MD013:
+ # Number of characters
+ line_length: 120
diff --git a/readme.md b/readme.md
index b29916c..d8ecc24 100644
--- a/readme.md
+++ b/readme.md
@@ -11,13 +11,14 @@
-CosmicNvim is a lightweight and opinionated Neovim config for web development, specifically designed to provide a 💫 COSMIC programming experience!
+CosmicNvim is a lightweight and opinionated Neovim config for web development,
+specifically designed to provide a 💫 COSMIC programming experience!
## 🚀 Stellar Features
-#### Native LSP
+### Native LSP
Full featured native LSP functionality!
@@ -27,7 +28,7 @@ Full featured native LSP functionality!
- 🚨 Statusline diagnostics
- 🔧 Formatting/linting thanks to [null-ls](https://github.com/jose-elias-alvarez/null-ls.nvim)
-##### Additional features
+#### Additional features
- Custom rename and code action popups via [Cosmic-UI](https://github.com/CosmicNvim/cosmic-ui)
- Amazing default theme via [tokyonight.nvim](https://github.com/folke/tokyonight.nvim)
@@ -46,7 +47,8 @@ Full featured native LSP functionality!
- Additional custom highlighting
- Floating windows for references, renaming, diagnostics, code actions and more!
-_While CosmicNvim is geared specifically toward TypeScript/JavaScript development, it should be able to provide a great experience with any LSP supported language._
+_While CosmicNvim is geared specifically toward TypeScript/JavaScript development, it should be able to provide a great
+experience with any LSP supported language._
## 🛠Installation
@@ -61,10 +63,12 @@ _While CosmicNvim is geared specifically toward TypeScript/JavaScript developmen
#### Install
-```
- $ cd ~/.config
- $ git clone git@github.com:CosmicNvim/CosmicNvim.git nvim
- $ nvim .
+```bash
+ cd ~/.config
+ # back up current config
+ cp -r nvim nvim.backup
+ git clone git@github.com:CosmicNvim/CosmicNvim.git nvim
+ nvim .
```
Additional CosmicNvim installation [details](https://github.com/CosmicNvim/CosmicNvim/wiki/Installation).
@@ -101,25 +105,26 @@ CosmicNvim comes with first-class support for the following themes:
## ✨ Cosmic Commands
-#### Update CosmicNvim
+### Update CosmicNvim
-```
+```vimcommand
:CosmicUpdate
```
-By default, this will assume the Cosmic git directory is placed at `vim.fn.stdpath('config')`, i.e. `~/.config/nvim`. Otherwise, you may define the shell environment variable `COSMICNVIM_INSTALL_DIR`.
+By default, this will assume the Cosmic git directory is placed at `vim.fn.stdpath('config')`, i.e. `~/.config/nvim`.
+Otherwise, you may define the shell environment variable `COSMICNVIM_INSTALL_DIR`.
-#### Clear cache and sync plugins
+### Clear cache and sync plugins
-```
+```vimcommand
:CosmicReloadSync
```
-Useful for changing themes or updating plugins on the fly!
+Useful for testing themes or plugins on the fly!
-#### Reload user config
+### Reload user config
-```
+```vimcommand
:CosmicReload
```
@@ -127,11 +132,11 @@ Useful for non-plugin related changes such as editor settings or mappings.
## 🗺 Default Mappings
-[File navigation](./lua/cosmic.plugins/telescope/mappings.lua)
+[File navigation](./lua/cosmic/plugins/telescope/mappings.lua)
-[File explorer](./lua/cosmic.plugins/nvim-tree/mappings.lua)
+[File explorer](./lua/cosmic/plugins/nvim-tree/mappings.lua)
-[Terminal](./lua/cosmic.plugins/terminal/mappings.lua)
+[Terminal](./lua/cosmic/plugins/terminal/mappings.lua)
[LSP](./lua/cosmic/lsp/mappings.lua)