Last active
August 29, 2015 14:19
-
-
Save arcostasi/9ff9f688976cb85d8f2f to your computer and use it in GitHub Desktop.
Install vim on CentOS 6-7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> 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