Auto complete for Vim
Use Vundle:
Plugin 'terroo/vim-auto-markdown'
" :PluginInstall
Use vim-plug:
Plug 'terroo/vim-auto-markdown'
" :PlugInstall"
Works only on
.md
,.markdown
,.mdown
,.mkdn
,.md
,.mkd
,.mdwn
,.mdtxt
,.mdtext
,.text
and.Rmd
files.
- Type:
code<Tab>
and it will auto complete for:
```sh
|
`` `
- Type
python<Tab>
and it will auto complete for:
```python
print('|')
`` `
- Type
ruby<Tab>
and it will auto complete for:
```ruby
puts '|'
`` `
- Type
c++<Tab>
and it will auto complete for:
```c++
|
`` `
- Type
bash<Tab>
and it will auto complete for:
```bash
|
`` `
- Type
js<Tab>
and it will auto complete for:
```js
console.log('|')
`` `
- Type
json<Tab>
and it will auto complete for:
```json
{
|
}
`` `
- Type
html<Tab>
and it will auto complete for:
```html
<html>|</html>
`` `
- Type:
img<Tab>
and it will auto complete for:
![|alt](url)
- Type:
href<Tab>
and it will auto complete for:
[|name](url)
- Type:
pre<Tab>
and it will auto complete for:
`|`
- Type:
hr<Tab>
and it will auto complete for:
---
|
- Type:
h1<Tab>
and it will auto complete for:
# |
- Type:
h2<Tab>
and it will auto complete for:
## |
- Type:
h3<Tab>
and it will auto complete for:
### |
- Type:
h4<Tab>
and it will auto complete for:
#### | ####
- Type
h5<Tab>
and it will auto complete for:
##### | #####
- Type
h6<Tab>
and it will auto complete for:
###### | ######
This README is still in development, but the plugin already works, but there are still improvements.