Skip to content

Latest commit

 

History

History
116 lines (81 loc) · 2.89 KB

getting-started.md

File metadata and controls

116 lines (81 loc) · 2.89 KB
layout title permalink
page
Getting Started
/getting-started/

Intro

Below you can find information how to setup Vim with basic config. This way:

  • You can follow asciicasts and other tips
  • You can try Vim-CtrlSpace without touching your everyday setup

Learn Vim-CtrlSpace in 30 minutes

Vim is said to have steep learning curve. It’s not true. It’s rather an urban legend. Ben Orenstein says that you can learn to use Vim in 30 minutes:

Over the years, the popular mythology around vim has become that it’s insanely difficult to learn; a task to be attempted by only those with the thickest of neck-beards. I’ve heard dozens of times from folks who are convinced it will take them months to reach proficiency.

These beliefs are false.

—Ben Orenstein in The Vim Learning Curve is a Myth

We’re sure that you can also learn Vim-CtrlSpace in 30 minutes! Ready?

Installation

Getting Vundle

Follow: Step 1 and Step 2 Skip: Step 3 and Step 4

from Vundle Quick Start Guide

Install The Silver Searcher

Get our basic vimrc config

To not mess up your original config, plugins will be installed in ~/vim-ctrlspace-learning You can change that.

Copy the content and store it somewhere.

set nocompatible
filetype off

set rtp+=~/.vim/bundle/Vundle.vim
" Change path if necessary
call vundle#begin('~/vim-ctrlspace-learning')

Plugin 'VundleVim/Vundle.vim'
Plugin 'szw/vim-ctrlspace'
Plugin 'NLKNguyen/papercolor-theme'

call vundle#end()
filetype plugin indent on

set t_Co=256
set background=dark
colorscheme PaperColor

set nocompatible
set hidden
set wildignore=.git,.svn,CVS,*.o,*.a,*.class,*.mo,*.la,*.so,*.obj,*.swp,*.jpg,*.png,*.xpm,*.gif,*.pyc,tags,*.tags

if has("gui_running")
  " Settings for MacVim and Inconsolata font
  let g:CtrlSpaceSymbols = { "File": "", "CTab": "", "Tabs": "" }
endif

if executable("ag")
    let g:CtrlSpaceGlobCommand = 'ag -l --nocolor -g ""'
endif

let g:CtrlSpaceIgnoredFiles = '\v(tmp|temp|Godeps)[\/]'

Install Vim-CtrlSpace and plugins

Open Vim:

vim -u path-to-the-downloaded-config

Install plugins using Vundle:

:PluginInstall

Restart Vim (recommended).

First try!

Now you can add your first project to bookmarks!