Merge pull request #523 from snxx-lppxx/master

Update README.mkd
This commit is contained in:
mattn
2021-09-30 23:47:58 +09:00
committed by GitHub

View File

@@ -13,42 +13,56 @@ which provides support for expanding abbreviations similar to
[Download zip file](http://www.vim.org/scripts/script.php?script_id=2981): [Download zip file](http://www.vim.org/scripts/script.php?script_id=2981):
```sh
cd ~/.vim cd ~/.vim
unzip emmet-vim.zip unzip emmet-vim.zip
```
To install using [pathogen.vim](https://github.com/tpope/vim-pathogen): To install using [pathogen.vim](https://github.com/tpope/vim-pathogen):
```sh
git clone https://github.com/mattn/emmet-vim.git ~/.vim/bundle/emmet-vim git clone https://github.com/mattn/emmet-vim.git ~/.vim/bundle/emmet-vim
```
To install using [Vundle](https://github.com/gmarik/vundle): To install using [Vundle](https://github.com/gmarik/vundle):
```vim
" add this line to your .vimrc file " add this line to your .vimrc file
Plugin 'mattn/emmet-vim' Plugin 'mattn/emmet-vim'
```
To install using [Vim-Plug](https://github.com/junegunn/vim-plug): To install using [Vim-Plug](https://github.com/junegunn/vim-plug):
```vim
" add this line to your .vimrc file " add this line to your .vimrc file
Plug 'mattn/emmet-vim' Plug 'mattn/emmet-vim'
```
To checkout the source from repository: To checkout the source from repository:
```sh
cd ~/.vim/bundle cd ~/.vim/bundle
git clone https://github.com/mattn/emmet-vim.git git clone https://github.com/mattn/emmet-vim.git
```
or: or:
```sh
git clone https://github.com/mattn/emmet-vim.git git clone https://github.com/mattn/emmet-vim.git
cd emmet-vim cd emmet-vim
cp plugin/emmet.vim ~/.vim/plugin/ cp plugin/emmet.vim ~/.vim/plugin/
cp autoload/emmet.vim ~/.vim/autoload/ cp autoload/emmet.vim ~/.vim/autoload/
cp -a autoload/emmet ~/.vim/autoload/ cp -a autoload/emmet ~/.vim/autoload/
```
## Quick Tutorial ## Quick Tutorial
Open or create a New File: Open or create a New File:
```sh
vim index.html vim index.html
```
Type ("\_" is the cursor position): Type ("\_" is the cursor position):