Skip to content

Commit 1b7e460

Browse files
authored
Merge pull request #523 from snxx-lppxx/master
Update README.mkd
2 parents baf5546 + f0df5fa commit 1b7e460

File tree

1 file changed

+29
-15
lines changed

1 file changed

+29
-15
lines changed

README.mkd

+29-15
Original file line numberDiff line numberDiff line change
@@ -13,42 +13,56 @@ which provides support for expanding abbreviations similar to
1313

1414
[Download zip file](http://www.vim.org/scripts/script.php?script_id=2981):
1515

16-
cd ~/.vim
17-
unzip emmet-vim.zip
16+
```sh
17+
cd ~/.vim
18+
unzip emmet-vim.zip
19+
```
1820

1921
To install using [pathogen.vim](https://github.com/tpope/vim-pathogen):
2022

21-
git clone https://github.com/mattn/emmet-vim.git ~/.vim/bundle/emmet-vim
23+
```sh
24+
git clone https://github.com/mattn/emmet-vim.git ~/.vim/bundle/emmet-vim
25+
```
2226

2327
To install using [Vundle](https://github.com/gmarik/vundle):
2428

25-
" add this line to your .vimrc file
26-
Plugin 'mattn/emmet-vim'
29+
```vim
30+
" add this line to your .vimrc file
31+
Plugin 'mattn/emmet-vim'
32+
```
2733

2834
To install using [Vim-Plug](https://github.com/junegunn/vim-plug):
2935

30-
" add this line to your .vimrc file
31-
Plug 'mattn/emmet-vim'
36+
```vim
37+
" add this line to your .vimrc file
38+
Plug 'mattn/emmet-vim'
39+
```
3240

3341
To checkout the source from repository:
3442

35-
cd ~/.vim/bundle
36-
git clone https://github.com/mattn/emmet-vim.git
43+
```sh
44+
cd ~/.vim/bundle
45+
git clone https://github.com/mattn/emmet-vim.git
46+
```
3747

3848
or:
3949

40-
git clone https://github.com/mattn/emmet-vim.git
41-
cd emmet-vim
42-
cp plugin/emmet.vim ~/.vim/plugin/
43-
cp autoload/emmet.vim ~/.vim/autoload/
44-
cp -a autoload/emmet ~/.vim/autoload/
50+
```sh
51+
git clone https://github.com/mattn/emmet-vim.git
52+
cd emmet-vim
53+
cp plugin/emmet.vim ~/.vim/plugin/
54+
cp autoload/emmet.vim ~/.vim/autoload/
55+
cp -a autoload/emmet ~/.vim/autoload/
56+
```
4557

4658

4759
## Quick Tutorial
4860

4961
Open or create a New File:
5062

51-
vim index.html
63+
```sh
64+
vim index.html
65+
```
5266

5367
Type ("\_" is the cursor position):
5468

0 commit comments

Comments
 (0)