|
| 1 | +--- |
| 2 | +layout: page |
| 3 | +title: Getting Started |
| 4 | +permalink: /getting-started/ |
| 5 | +--- |
| 6 | + |
| 7 | +## Intro |
| 8 | + |
| 9 | +Below you can find information how to setup *Vim* with **basic config**. This |
| 10 | +way: |
| 11 | + |
| 12 | +- You can follow *asciicasts* and other tips |
| 13 | +- You can try *Vim-CtrlSpace* without touching your everyday setup |
| 14 | + |
| 15 | +## Learn *Vim-CtrlSpace* in 30 minutes |
| 16 | + |
| 17 | +*Vim* is said to have **steep learning curve**. It’s not true. It’s rather an |
| 18 | +urban legend. [Ben Orenstein][1] says that **you can learn to use *Vim* in 30 |
| 19 | +minutes**: |
| 20 | + |
| 21 | +> Over the years, the popular mythology around vim has become that it’s insanely |
| 22 | +> difficult to learn; a task to be attempted by only those with the thickest of |
| 23 | +> neck-beards. I’ve heard dozens of times from folks who are convinced it will |
| 24 | +> take them months to reach proficiency. |
| 25 | +> |
| 26 | +> These beliefs are false. |
| 27 | +> |
| 28 | +—Ben Orenstein in [The Vim Learning Curve is a Myth][2] |
| 29 | + |
| 30 | +We’re sure that **you can also learn Vim-CtrlSpace in 30 minutes**! Ready? |
| 31 | + |
| 32 | +## Installation |
| 33 | + |
| 34 | +### Getting Vundle |
| 35 | + |
| 36 | +**Follow**: *Step 1* and *Step 2* |
| 37 | +**Skip**: *Step 3* and *Step 4* |
| 38 | + |
| 39 | +from [Vundle Quick Start Guide][3] |
| 40 | + |
| 41 | +### Install *The Silver Searcher* |
| 42 | + |
| 43 | +``` |
| 44 | +brew install the_silver_searcher |
| 45 | +``` |
| 46 | + |
| 47 | +- [How to install in Linux and other systems][4] |
| 48 | +- In case of problems see [how to configure The Silver Searcher for Vim-CtrlSpace][5] |
| 49 | + |
| 50 | +### Get our basic vimrc config |
| 51 | + |
| 52 | +To not mess up your original config, plugins will be installed in |
| 53 | +`~/vim-ctrlspace-learning` You can [change that][6]. |
| 54 | + |
| 55 | +Copy the content and store it somewhere. |
| 56 | + |
| 57 | +<script src="https://gist.github.com/ryrych/895bbabd3f6c40bf7d29.js"></script> |
| 58 | + |
| 59 | +### Install Vim-CtrlSpace and plugins |
| 60 | + |
| 61 | +Open *Vim*: |
| 62 | + |
| 63 | +``` |
| 64 | +mvim -u path-to-the-downloaded-config |
| 65 | +``` |
| 66 | + |
| 67 | +Install plugins using *Vundle*: |
| 68 | + |
| 69 | +``` |
| 70 | +:PluginInstall |
| 71 | +``` |
| 72 | + |
| 73 | +Restart *Vim* (recommended). |
| 74 | + |
| 75 | +## First try! |
| 76 | + |
| 77 | +Now you can [add your first project to bookmarks!][7] |
| 78 | + |
| 79 | + |
| 80 | +[1]: https://twitter.com/r00k |
| 81 | +[2]: https://robots.thoughtbot.com/the-vim-learning-curve-is-a-myth |
| 82 | +[3]: https://github.com/VundleVim/Vundle.vim#quick-start |
| 83 | +[4]: https://github.com/ggreer/the_silver_searcher#linux |
| 84 | +[5]: https://github.com/szw/vim-ctrlspace#glob-command |
| 85 | +[6]: https://gist.github.com/ryrych/895bbabd3f6c40bf7d29#file-vim-ctrlspace-vimrc-L6 |
| 86 | +[7]: http://ryrych.github.io/vim-ctrlspace-site/asciicast/2015/11/25/adding_a_project_to_bookmarks.html |
0 commit comments