Created
August 29, 2014 15:05
-
-
Save rpattabi/fd5f4d524c5043fc763c to your computer and use it in GitHub Desktop.
.vimrc
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
set dictionary+=~/.vim/roget13a.txt | |
set thesaurus+=~/.vim/mthesaur.txt | |
"" | |
"" Janus setup | |
"" | |
" Define paths | |
let g:janus_path = escape(fnamemodify(resolve(expand("<sfile>:p")), ":h"), ' ') | |
let g:janus_vim_path = escape(fnamemodify(resolve(expand("<sfile>:p" . "vim")), ":h"), ' ') | |
let g:janus_custom_path = expand("~/.janus") | |
" Source janus's core | |
exe 'source ' . g:janus_vim_path . '/core/before/plugin/janus.vim' | |
" You should note that groups will be processed by Pathogen in reverse | |
" order they were added. | |
call janus#add_group("tools") | |
call janus#add_group("langs") | |
call janus#add_group("colors") | |
"" | |
"" Customisations | |
"" | |
if filereadable(expand("~/.vimrc.before")) | |
source ~/.vimrc.before | |
endif | |
" Disable plugins prior to loading pathogen | |
exe 'source ' . g:janus_vim_path . '/core/plugins.vim' | |
"" | |
"" Pathogen setup | |
"" | |
" Load all groups, custom dir, and janus core | |
call janus#load_pathogen() | |
" .vimrc.after is loaded after the plugins have loaded | |
colorscheme autumn | |
" Vundle Stuff | |
" | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
Bundle 'gmarik/vundle' | |
Bundle 'mattn/gist-vim' | |
Bundle 'canadaduane/VimKata' | |
filetype plugin indent on | |
set guifont=FreeMono\ 11 | |
if has("gui_running") | |
" GUI is running or is about to start. | |
" Maximize gvim window. | |
set lines=999 columns=999 | |
else | |
" This is console Vim. | |
if exists("+lines") | |
set lines=50 | |
endif | |
if exists("+columns") | |
set columns=100 | |
endif | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment