Skip to content

Instantly share code, notes, and snippets.

@Maximus5

Maximus5/vimrc

Created Oct 9, 2015
Embed
What would you like to do?
"disable compatibility mode with Vi
set nocompatible
filetype off
"set rtp+=~/vimfiles/bundle/Vundle.vim
"call vundle#begin('~/vimfiles/bundle')
"Plugin 'VundleVim/Vundle.vim'
"Plugin 'jnurmine/zenburn'
"call vundle#end()
"filetype plugin indent on
if has('win32') && !has('gui_running') && !empty($CONEMUBUILD)
set termencoding=utf8
set term=xterm
set t_Co=256
let &t_AB="\e[48;5;%dm"
let &t_AF="\e[38;5;%dm"
endif
"set encoding
"explanation: http://stackoverflow.com/a/5795441/453396
if has("multi_byte")
if &termencoding == ""
let &termencoding = &encoding
endif
set encoding=utf-8 "better default than latin1
setglobal fileencoding=utf-8 "change default file encoding when writing new files
endif
set colorcolumn=80
highlight ColorColumn ctermbg=223
syntax on
set cursorline
color zenburn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment