1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 12:50:04 +08:00

add tagbar documentation for markdonw layer (#3506)

* add tagbar documentation for markdonw layer

 tagbar-markdown need php to work.

mdctags don't. (maybe it should be the default plugin used for that ?)

* [Typo] k != K
This commit is contained in:
Romain 2020-05-04 12:19:36 +02:00 committed by GitHub
parent dd212c0897
commit 573475ec23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,11 +77,17 @@ Enable/Disable wcwidth for detecting the length of a table cell, default is 0. T
Bullet marker to use for list items (`'-'`, `'*'`, or `'+'`, default: `'-'`).
## Tagbar
To have a table of the headings in the tagbar (toggled by [F2]), make sure php is in your `$PATH` (you can test this in SpaceVim : `:!php --version` should print something about php).
If you don't want to install php, you can use [mdctags](https://github.com/wsdjeg/mdctags.rs) as an alternative.
## Key bindings
| Key bindings | mode | Descriptions |
| ------------ | ------------- | ------------------------------------------------------ |
| `SPC b f` | Normal | Format current buffer |
| `SPC l k` | Normal/Visual | Add URL link for word under cursor or slected word |
| `SPC l k` | Normal/Visual | Add picture link for word under cursor or slected word |
| `SPC l K` | Normal/Visual | Add picture link for word under cursor or slected word |
| `SPC l p` | Normal | Real-time markdown preview |