3 homepage: https://github.com/CHANGEME/example
5 Vim Example: A template for webi vim plugins.
8 To update (replacing the current version) run `webi vim-example`.
12 ![](https://i.imgur.com/N2dVHJP.png)
14 > Replace this text with a nice summary, perhaps from the plugins documentation.
16 If there are some important key bindings, use a table like this:
19 | ----------------------- | ---------------------------------------------------- |
20 | **Global Key Bindings** | |
21 | `<Leader>n` | Move cursor to NERDTree |
22 | `ctrl+w`, w | Rotate between open windows |
23 | `:e **/api.js<tab>` | Open and edit file matching api.js, in any subfolder |
25 ### How to install and configure manually
27 1. Place EXAMPLE into your `~/.vim/pack/plugins/start`:
30 mkdir -p ~/.vim/pack/plugins/start/
31 git clone --depth=1 https://github.com/CHANGEME/EXAMPLE.git ~/.vim/pack/plugins/start/example
34 2. Create the file `~/.vim/plugins/example.vim`. Add the same contents as
35 <https://github.com/webinstall/webi-installers/blob/master/vim-example/example.vim>,
36 which will look something like this:
39 " ~/.vim/plugins/example.vim
41 " default mappings for example
42 nnoremap <leader>x :EXAMPLE<CR>
45 3. Update `~/.vimrc` to source that plugin:
47 " example: reasonable defaults from webinstall.dev/vim-example
48 source ~/.vim/plugins/example.vim