terroo / vim-auto-markdown

Auto complete fo Vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vim-auto-markdown

Auto complete for Vim

Instalation

Use Vundle:

Plugin 'terroo/vim-auto-markdown'
" :PluginInstall

Use vim-plug:

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<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.

About

Auto complete fo Vim

License:GNU General Public License v3.0


Languages

Language:Vim Script 100.0%