An open API service indexing awesome lists of open source software.

https://github.com/terroo/vim-auto-markdown

Auto complete fo Vim
https://github.com/terroo/vim-auto-markdown

autocompletion markdown plugin vim

Last synced: 6 months ago
JSON representation

Auto complete fo Vim

Awesome Lists containing this project

README

          

# vim-auto-markdown
Auto complete for Vim

# Instalation
Use Vundle:
```sh
Plugin 'terroo/vim-auto-markdown'
" :PluginInstall
```

Use vim-plug:

```sh
Plug 'terroo/vim-auto-markdown'
" :PlugInstall"
```

# Use
## The character `|` shows the position that the cursor will be after command followed by TAB.
> Works only on `.md`, `.markdown`, `.mdown`, `.mkdn`, `.md`, `.mkd`, `.mdwn`, `.mdtxt`, `.mdtext`, `.text `and `.Rmd ` files.

+ Type: `code` and it will auto complete for:
```sh
```sh
|
`` `

```
+ Type `python` and it will auto complete for:
```sh
```python
print('|')
`` `
```
+ Type `ruby` and it will auto complete for:
```sh
```ruby
puts '|'
`` `
```
+ Type `c++` and it will auto complete for:
```sh
```c++
|
`` `
```
+ Type `bash` and it will auto complete for:
```sh
```bash
|
`` `
```
+ Type `js` and it will auto complete for:
```sh
```js
console.log('|')
`` `
```
+ Type `json` and it will auto complete for:
```sh
```json
{
|
}
`` `
```
+ Type `html` and it will auto complete for:
```sh
```html
|
`` `
```
+ Type: `img` and it will auto complete for:
```sh
![|alt](url)
```
+ Type: `href` and it will auto complete for:
```sh
[|name](url)
```
+ Type: `pre` and it will auto complete for:
```sh
`|`
```
+ Type: `hr` and it will auto complete for:
```sh

---

|
```
+ Type: `h1` and it will auto complete for:
```sh
# |
```
+ Type: `h2` and it will auto complete for:
```sh
## |
```
+ Type: `h3` and it will auto complete for:
```sh
### |
```
+ Type: `h4` and it will auto complete for:
```sh
#### | ####
```
+ Type `h5` and it will auto complete for:
```sh
##### | #####
```
+ Type `h6` and it will auto complete for:
```sh
###### | ######
```
> This README is still in development, but the plugin already works, but there are still improvements.