# Vim
## Color scheme
To make the background the same as the terminal itself:
```vim
highlight Normal guibg=none
highlight NonText guibg=none
```
## Mode line
- In [[markdown|Markdown]]:
- Try
[link label syntax](https://davidjb.com/blog/2016/10/adding-a-vim-modeline-in-a-markdown-document/)
```html
[modeline]: # ( vim: set fenc=utf-8 spell spl=en: )
```
- Or in
[HTML comment](https://stackoverflow.com/questions/53386522/add-vim-modeline-in-markdown-document),
notice the trailing colon:
```markdown
<!-- vim: set ft=markdown: -->
```
## Tricks
- Run `mess` (= `messages`) to see what happened if plugin is not working.
## Plugins
### Markdown Preview
[Nothing happens on MarkdownPreview #188](https://github.com/iamcco/markdown-preview.nvim/issues/188#issuecomment-841356921)