mirror of
https://github.com/esm7/obsidian-vimrc-support.git
synced 2026-07-22 05:00:25 +00:00
Merge branch 'dev-status-bar-css'
This commit is contained in:
commit
f8e9893126
1 changed files with 13 additions and 8 deletions
21
README.md
21
README.md
|
|
@ -285,15 +285,20 @@ 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).
|
||||
You may utilize the vim mode display prompt class and the `data-vim-mode` attribute to
|
||||
add styles to the status bar prompt (e.g. assign colors for different status). You can
|
||||
also toggle the setting in settings page to also apply the display prompt class to the
|
||||
entire status bar container if you want some customizations on it.
|
||||
|
||||
| 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` |
|
||||
The display prompt class: `vimrc-support-vim-mode`
|
||||
The `data-vim-mode` values:
|
||||
|
||||
| Mode | Data Value (`data-vim-mode`) |
|
||||
| ------- | ---------------------------- |
|
||||
| normal | `normal` |
|
||||
| insert | `insert` |
|
||||
| visual | `visual` |
|
||||
| replace | `replace` |
|
||||
|
||||
## Changelog
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue