Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set hlsearch
- au WinLeave * set nocursorline nocursorcolumn
- au WinEnter * set cursorline cursorcolumn
- set cursorline
- set encoding=utf-8 " The encoding displayed.
- set fileencoding=utf-8 " The encoding written to file.
- "FIXME: why do I have both of these lines? must investigate them:
- syntax on
- syntax enable
- "------------------------------------------------------------------
- "Solarized Colorscheme Config
- "------------------------------------------------------------------
- "set background=light
- "set background=dark
- "colorscheme solarized
- "set tabs to 4 spaces.
- set tabstop=4
- set expandtab
- set shiftwidth=4
- "ruby and yaml files are indented by two
- autocmd FileType ruby,rdoc,cucumber,yaml set softtabstop=2 tabstop=2 shiftwidth=2
- "automatically indent
- set smartindent
- set cindent
- "show line numbers on the left
- set number
- "case insensitive search
- set ignorecase
- set smartcase
- "search the whole build tree for ctags
- set tags=tags;/
- "give me that nice little gutter so i don't make stuff too wide
- set formatoptions=qrn1
- set colorcolumn=120
- " smartcase makes it so:
- " /copyright " Case insensitive
- " /Copyright " Case sensitive
- " /copyright\C " Case sensitive
- " /Copyright\c " Case insensitive
- set smartcase
- " Do some sweet status line magic!
- set statusline=\b%n%m\:\ %f "buffer/filename /modified, e.g. `b3[+]: ~/.vimrc`
- set statusline+=\ (%v\,%l/%L) "column/line/total lines, e.g. `(41,144/145)`
- set statusline+=%{exists('g:loaded_fugitive')?fugitive#statusline():''}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement