Merge pull request #4 from SPiCaRiA/dev-readme

Add a break line in settings tab and update readme
This commit is contained in:
SPiCaRiA 2023-03-27 15:51:59 -07:00 committed by GitHub
commit c6ee5570dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View file

@ -283,6 +283,17 @@ nmap [[ :prevHeading
See [here](JsSnippets.md) for the full example, and please contribute your own!
### Custom Styles for Status Bar
You may utilize the following CSS class names to add styles to the status bar prompt
(e.g. assign colors for different status).
| Mode | Class Name |
| ------- | ---------------------------------------------- |
| normal | `plugin-obsidian-vimrc-support-prompt-normal` |
| insert | `plugin-obsidian-vimrc-support-prompt-insert` |
| visual | `plugin-obsidian-vimrc-support-prompt-visual` |
| replace | `plugin-obsidian-vimrc-support-prompt-replace` |
## Changelog

View file

@ -781,6 +781,8 @@ class SettingsTab extends PluginSettingTab {
})
});
containerEl.createEl('hr');
new Setting(containerEl)
.setName('Normal mode prompt')
.setDesc('Set the status prompt text for normal mode.')