Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
krampstudio committed Apr 21, 2016
1 parent de2e5d8 commit bf4a55e
Showing 1 changed file with 27 additions and 11 deletions.
38 changes: 27 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ And contains the features you expect from a modern code editor :
- grunt/gulp support (coming soon)
- all the awesomeness from Vim

> 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.
## Install

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

1. A modern version of Vim

apt-get install vim vim-runtime vim-gui-common
```sh
apt-get install vim vim-runtime vim-gui-common
```

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

2. Some tools to compile YouCompleteMe

apt-get install build-essential cmake python-dev exuberant-ctags libclang-3.4-dev

```sh
apt-get install build-essential cmake python-dev exuberant-ctags libclang-3.4-dev
```

3. Node.js and npm

curl -sL https://deb.nodesource.com/setup_0.12 | bash -
apt-get install -y nodejs
```sh
curl -sL https://deb.nodesource.com/setup_0.12 | bash -
apt-get install -y nodejs
```

4. Some npm packages

npm install -g eslint csslint jshint jsonlint handlebars
```sh
npm install -g eslint csslint jshint jsonlint handlebars
```

### Dependencies (the short story)

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

dnf install cmake python-devel npm vim
npm install -g npm eslint csslint jshint jsonlint handlebars
```sh
dnf install cmake python-devel npm vim
npm install -g npm eslint csslint jshint jsonlint handlebars
```

### Install it:

git clone https://github.com/krampstudio/webvim.git ~/.vim
ln -s ~/.vim/.vimrc ~/.vimrc
vim
```sh
git clone https://github.com/krampstudio/webvim.git ~/.vim
ln -s ~/.vim/.vimrc ~/.vimrc
vim
```

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`.

## Hardcore mode

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

0 comments on commit bf4a55e

Please sign in to comment.