@@ -13,42 +13,56 @@ which provides support for expanding abbreviations similar to
13
13
14
14
[ Download zip file] ( http://www.vim.org/scripts/script.php?script_id=2981 ) :
15
15
16
- cd ~/.vim
17
- unzip emmet-vim.zip
16
+ ``` sh
17
+ cd ~ /.vim
18
+ unzip emmet-vim.zip
19
+ ```
18
20
19
21
To install using [ pathogen.vim] ( https://github.com/tpope/vim-pathogen ) :
20
22
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
+ ```
22
26
23
27
To install using [ Vundle] ( https://github.com/gmarik/vundle ) :
24
28
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
+ ```
27
33
28
34
To install using [ Vim-Plug] ( https://github.com/junegunn/vim-plug ) :
29
35
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
+ ```
32
40
33
41
To checkout the source from repository:
34
42
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
+ ```
37
47
38
48
or:
39
49
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
+ ```
45
57
46
58
47
59
## Quick Tutorial
48
60
49
61
Open or create a New File:
50
62
51
- vim index.html
63
+ ``` sh
64
+ vim index.html
65
+ ```
52
66
53
67
Type ("\_ " is the cursor position):
54
68
0 commit comments