mirror of
https://github.com/esm7/obsidian-vimrc-support.git
synced 2026-07-22 05:00:25 +00:00
Merge pull request #4 from SPiCaRiA/dev-readme
Add a break line in settings tab and update readme
This commit is contained in:
commit
c6ee5570dc
2 changed files with 13 additions and 0 deletions
11
README.md
11
README.md
|
|
@ -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
|
||||
|
||||
|
|
|
|||
2
main.ts
2
main.ts
|
|
@ -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.')
|
||||
|
|
|
|||
Loading…
Reference in a new issue