Skip to content

Instantly share code, notes, and snippets.

@lkurylo
Created October 7, 2015 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lkurylo/f6a20801b48133a71fac to your computer and use it in GitHub Desktop.
Save lkurylo/f6a20801b48133a71fac to your computer and use it in GitHub Desktop.
"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