Skip to content

Commit bf4a55e

Browse files
committed
Update README.md
1 parent de2e5d8 commit bf4a55e

1 file changed

Lines changed: 27 additions & 11 deletions

File tree

README.md

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ And contains the features you expect from a modern code editor :
2323
- grunt/gulp support (coming soon)
2424
- all the awesomeness from Vim
2525

26+
> The WebVim idea is to provide you a vim distribution: something that comes prepackaged, preconfigured, built on a kernel to serve a goal. WebVim is to vim what Debian is to Linux, a vim distribution for the web.
2627
2728
## Install
2829

@@ -34,38 +35,51 @@ On a Ubuntu (from 15.04)
3435

3536
1. A modern version of Vim
3637

37-
apt-get install vim vim-runtime vim-gui-common
38+
```sh
39+
apt-get install vim vim-runtime vim-gui-common
40+
```
3841

3942
or compile a recent version with `xterm_clipboard` and `ruby` or `python` support.
4043

4144
2. Some tools to compile YouCompleteMe
4245

43-
apt-get install build-essential cmake python-dev exuberant-ctags libclang-3.4-dev
44-
46+
```sh
47+
apt-get install build-essential cmake python-dev exuberant-ctags libclang-3.4-dev
48+
```
4549

4650
3. Node.js and npm
4751

48-
curl -sL https://deb.nodesource.com/setup_0.12 | bash -
49-
apt-get install -y nodejs
52+
```sh
53+
curl -sL https://deb.nodesource.com/setup_0.12 | bash -
54+
apt-get install -y nodejs
55+
```
5056

5157
4. Some npm packages
5258

53-
npm install -g eslint csslint jshint jsonlint handlebars
59+
```sh
60+
npm install -g eslint csslint jshint jsonlint handlebars
61+
```
5462

5563
### Dependencies (the short story)
5664

5765
> Please report me what you did to make it work on your OS
5866
5967
#### Fedora 23
6068

61-
dnf install cmake python-devel npm vim
62-
npm install -g npm eslint csslint jshint jsonlint handlebars
69+
```sh
70+
dnf install cmake python-devel npm vim
71+
npm install -g npm eslint csslint jshint jsonlint handlebars
72+
```
6373

6474
### Install it:
6575

66-
git clone https://github.com/krampstudio/webvim.git ~/.vim
67-
ln -s ~/.vim/.vimrc ~/.vimrc
68-
vim
76+
```sh
77+
git clone https://github.com/krampstudio/webvim.git ~/.vim
78+
ln -s ~/.vim/.vimrc ~/.vimrc
79+
vim
80+
```
81+
82+
The plugins install can take some times, especially since there's a compilation made by YouCompleteMe. If you've the feeling the install has frozen, you can finish the install after by entering the command `:PlugInstall`.
6983

7084
## Hardcore mode
7185

@@ -188,6 +202,8 @@ WebVim is only a Vim distribution with plugins and configuration, so all common
188202
| __Editing__ |
189203
| Move line up | `<leader>-` | nv | |
190204
| Move line down | `<leader>_` | nv | |
205+
| Wrap in single quote | `<leader>'` | nv | |
206+
| Wrap in double quote | `<leader>"` | nv | |
191207
| |
192208
| _Next sections to come soon_ |
193209
| |

0 commit comments

Comments
 (0)