From 413fb145fe98661db8a3de20ec6cd2a2990c89cf Mon Sep 17 00:00:00 2001 From: snxx Date: Wed, 29 Sep 2021 00:01:22 +0500 Subject: [PATCH 1/3] Update README.mkd --- README.mkd | 47 ++++++++++++++++++++++++++++++++--------------- 1 file changed, 32 insertions(+), 15 deletions(-) diff --git a/README.mkd b/README.mkd index 15bff81..b1145df 100644 --- a/README.mkd +++ b/README.mkd @@ -7,48 +7,65 @@ which provides support for expanding abbreviations similar to [emmet](http://emmet.io/). +
+ ![screenshot](https://raw.githubusercontent.com/mattn/emmet-vim/master/doc/screenshot.gif) +
## Installation [Download zip file](http://www.vim.org/scripts/script.php?script_id=2981): - cd ~/.vim - unzip emmet-vim.zip +```sh +cd ~/.vim +unzip emmet-vim.zip +``` To install using [pathogen.vim](https://github.com/tpope/vim-pathogen): - git clone https://github.com/mattn/emmet-vim.git ~/.vim/bundle/emmet-vim +```sh +git clone https://github.com/mattn/emmet-vim.git ~/.vim/bundle/emmet-vim +``` To install using [Vundle](https://github.com/gmarik/vundle): - " add this line to your .vimrc file - Plugin 'mattn/emmet-vim' +``` +" add this line to your .vimrc file +Plugin 'mattn/emmet-vim' +``` To install using [Vim-Plug](https://github.com/junegunn/vim-plug): - " add this line to your .vimrc file - Plug 'mattn/emmet-vim' +``` +" add this line to your .vimrc file +Plug 'mattn/emmet-vim' +``` To checkout the source from repository: - cd ~/.vim/bundle - git clone https://github.com/mattn/emmet-vim.git +```sh +cd ~/.vim/bundle +git clone https://github.com/mattn/emmet-vim.git +``` or: - git clone https://github.com/mattn/emmet-vim.git - cd emmet-vim - cp plugin/emmet.vim ~/.vim/plugin/ - cp autoload/emmet.vim ~/.vim/autoload/ - cp -a autoload/emmet ~/.vim/autoload/ +```sh +git clone https://github.com/mattn/emmet-vim.git +cd emmet-vim +cp plugin/emmet.vim ~/.vim/plugin/ +cp autoload/emmet.vim ~/.vim/autoload/ +cp -a autoload/emmet ~/.vim/autoload/ +``` ## Quick Tutorial Open or create a New File: - vim index.html +```sh +vim index.html +``` Type ("\_" is the cursor position): From f2a80ddfa2978940ed56864424e073d03a69a047 Mon Sep 17 00:00:00 2001 From: snxx Date: Wed, 29 Sep 2021 00:03:02 +0500 Subject: [PATCH 2/3] Update README.mkd --- README.mkd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.mkd b/README.mkd index b1145df..02e9d40 100644 --- a/README.mkd +++ b/README.mkd @@ -29,14 +29,14 @@ git clone https://github.com/mattn/emmet-vim.git ~/.vim/bundle/emmet-vim To install using [Vundle](https://github.com/gmarik/vundle): -``` +```vim " add this line to your .vimrc file Plugin 'mattn/emmet-vim' ``` To install using [Vim-Plug](https://github.com/junegunn/vim-plug): -``` +```vim " add this line to your .vimrc file Plug 'mattn/emmet-vim' ``` From f0df5fa67662fad0d22084beb05fb4bc77eaeb10 Mon Sep 17 00:00:00 2001 From: snxx Date: Thu, 30 Sep 2021 19:26:28 +0500 Subject: [PATCH 3/3] Update README.mkd --- README.mkd | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.mkd b/README.mkd index 02e9d40..6cf1de2 100644 --- a/README.mkd +++ b/README.mkd @@ -7,10 +7,7 @@ which provides support for expanding abbreviations similar to [emmet](http://emmet.io/). -
- ![screenshot](https://raw.githubusercontent.com/mattn/emmet-vim/master/doc/screenshot.gif) -
## Installation