Skip to content

Instantly share code, notes, and snippets.

@arcostasi
Last active August 29, 2015 14:19
Show Gist options
  • Save arcostasi/9ff9f688976cb85d8f2f to your computer and use it in GitHub Desktop.
Save arcostasi/9ff9f688976cb85d8f2f to your computer and use it in GitHub Desktop.
Install vim on CentOS 6-7
> yum install vim-X11 vim-common vim-enhanced vim-minimal
vim ~/.vimrc
set history=700 " Sets how many lines of history VIM has to remember
set nocampatible
colo delek
syntax on
set showmode
set autoindent
set smartindent
set backspace=eol,start,indent
set expandtab
set tabstop=4
set shiftwidth=4
set ruler
set number
set ignorecase
set smartcase
set hlsearch
set backup
set backupdir=~/vim/tmp/
set nowrap
set laststatus=2
set cmdheight=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment