Permalink
Browse files

Initial checkin

  • Loading branch information...
Andrey Paramonov
Andrey Paramonov committed Feb 18, 2012
0 parents commit 17f7f7b14fe05704396674a52f91a56980cda3e8
Showing with 376 additions and 0 deletions.
  1. +17 −0 _gitconfig
  2. +17 −0 _groovy/grapeConfig.xml
  3. +58 −0 _profile
  4. +142 −0 _vim/colors/xoria256.vim
  5. +142 −0 _vimrc
@@ -0,0 +1,17 @@
+[user]
+ name = Andrey Paramonov
+ email = git@ndpar.com
+[color]
+ diff = auto
+ status = auto
+ branch = auto
+ add = auto
+ interactive = auto
+[alias]
+ st = status
+ ci = commit
+ br = branch
+ co = checkout
+ df = diff
+ lg = log -p
+ k = log --pretty=oneline --graph
@@ -0,0 +1,17 @@
+<ivysettings>
+ <settings defaultResolver="downloadGrapes"/>
+ <resolvers>
+ <chain name="downloadGrapes">
+ <filesystem name="cachedGrapes">
+ <ivy pattern="${user.home}/.groovy/grapes/[organisation]/[module]/ivy-[revision].xml"/>
+ <artifact pattern="${user.home}/.groovy/grapes/[organisation]/[module]/[type]s/[artifact]-[revision](-[classifier]).[ext]"/>
+ </filesystem>
+ <!-- todo add 'endorsed groovy extensions' resolver here -->
+ <ibiblio name="ndpar" root="http://maven.ndpar.com:9191/nexus/content/groups/public/" m2compatible="true"/>
+ <ibiblio name="sonatype" root="http://repository.sonatype.org/" m2compatible="true"/>
+ <ibiblio name="codehaus" root="http://repository.codehaus.org/" m2compatible="true"/>
+ <ibiblio name="ibiblio" m2compatible="true"/>
+ <ibiblio name="java.net2" root="http://download.java.net/maven/2/" m2compatible="true"/>
+ </chain>
+ </resolvers>
+</ivysettings>
@@ -0,0 +1,58 @@
+export CLICOLOR=1
+export LSCOLORS=ExFxCxDxBxegedabagacad
+
+export MAVEN_HOME=/opt/maven/maven
+export ANT_HOME=/usr/share/ant
+export JBOSS_HOME=/opt/jboss/jboss
+#export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
+export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
+export GROOVY_HOME=/opt/groovy/groovy
+export GRAILS_HOME=/opt/grails/grails
+export GRADLE_HOME=/opt/gradle/gradle
+export SOAPUI_HOME=/opt/soapui/soapui
+export APPENGINE_HOME=/opt/google/appengine-java-sdk
+export HSQLDB_HOME=/opt/hsqldb/hsqldb
+export HBASE_HOME=/opt/hbase/hbase
+
+export ANT_OPTS="-Xms512m -Xmx1024m -XX:PermSize=512m -XX:MaxPermSize=512m"
+
+#export MAVEN_OPTS="-Xms512m -Xmx768m -XX:PermSize=512m -XX:MaxPermSize=512m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n"
+#export MAVEN_OPTS="-agentpath:/opt/yourkit/yjp-8.0.6/bin/mac/libyjpagent.jnilib=disablestacktelemetry,delay=10000,sessionname=Jetty"
+export MAVEN_OPTS="-Xms512m -Xmx768m -XX:PermSize=512m -XX:MaxPermSize=512m"
+
+export ERL_LIB=/usr/local/lib/erlang/lib
+export RABBITMQ_HOME=/Users/andrey/projects/rabbit/rabbitmq-1.8.1
+
+export MULTIMARKDOWN_HOME=/opt/multimarkdown/multimarkdown
+
+export SBCL_HOME=/opt/lisp/sbcl/sbcl/lib/sbcl
+
+#export PATH=$MAVEN_HOME/bin:$JAVA_HOME/bin:$GROOVY_HOME/bin:$GRAILS_HOME/bin:$PATH:/opt/local/bin:$ANT_HOME/bin:$SOAPUI_HOME/bin
+export PATH=~/bin:$MAVEN_HOME/bin:$JAVA_HOME/bin:$GROOVY_HOME/bin:$GRAILS_HOME/bin:$GRADLE_HOME/bin:/usr/local/bin:$PATH:/opt/local/bin:$ANT_HOME/bin:$SOAPUI_HOME/bin:$APPENGINE_HOME/bin:~/projects/ndpar/ruby:/Applications/Flash\ Player.app/Contents/MacOS/:/usr/local/lib/erlang/bin:$MULTIMARKDOWN_HOME/bin:/opt/lisp/sbcl/sbcl/bin
+
+export PATH=$PATH:~/projects/gitorious/willgit/bin
+export PATH=$PATH:/opt/local/bin:/opt/local/sbin
+
+export SVN_EDITOR=vi
+export EDITOR=vi
+
+#export EDITOR="mate -w"
+#export CVSEDITOR="mate -w"
+#export SVN_EDITOR="mate -w"
+
+#set -o vi
+
+alias ll='ls -al'
+alias tac='tail -r'
+alias cdp='cd ~/projects'
+alias g='/Applications/MacVim.app/Contents/MacOS/Vim --remote-silent'
+#alias svn='/usr/local/bin/svn'
+
+##
+# Your previous /Users/andrey/.profile file was backed up as /Users/andrey/.profile.macports-saved_2010-05-23_at_20:12:29
+##
+
+# MacPorts Installer addition on 2010-05-23_at_20:12:29: adding an appropriate PATH variable for use with MacPorts.
+#export PATH=/opt/local/bin:/opt/local/sbin:$PATH
+# Finished adapting your PATH environment variable for use with MacPorts.
+
@@ -0,0 +1,142 @@
+" Vim color file
+"
+" Name: xoria256.vim
+" Version: 1.5
+" Maintainer: Dmitriy Y. Zotikov (xio) <xio@ungrund.org>
+"
+" Should work in recent 256 color terminals. 88-color terms like urxvt are
+" NOT supported.
+"
+" Don't forget to install 'ncurses-term' and set TERM to xterm-256color or
+" similar value.
+"
+" Color numbers (0-255) see:
+" http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
+"
+" For a specific filetype highlighting rules issue :syntax list when a file of
+" that type is opened.
+
+" Initialization {{{
+if &t_Co != 256 && ! has("gui_running")
+ echomsg ""
+ echomsg "err: please use GUI or a 256-color terminal (so that t_Co=256 could be set)"
+ echomsg ""
+ finish
+endif
+
+set background=dark
+
+hi clear
+
+if exists("syntax_on")
+ syntax reset
+endif
+
+let colors_name = "xoria256"
+"}}}
+" Colours {{{1
+"" General {{{2
+hi Normal ctermfg=252 guifg=#d0d0d0 ctermbg=234 guibg=#1c1c1c cterm=none gui=none
+hi Cursor ctermbg=214 guibg=#ffaf00
+hi CursorColumn ctermbg=238 guibg=#444444
+hi CursorLine ctermbg=237 guibg=#3a3a3a cterm=none gui=none
+hi Error ctermfg=15 guifg=#ffffff ctermbg=1 guibg=#800000
+hi ErrorMsg ctermfg=15 guifg=#ffffff ctermbg=1 guibg=#800000
+hi FoldColumn ctermfg=247 guifg=#9e9e9e ctermbg=233 guibg=#121212
+hi Folded ctermfg=255 guifg=#eeeeee ctermbg=60 guibg=#5f5f87
+hi IncSearch ctermfg=0 guifg=#000000 ctermbg=223 guibg=#ffdfaf cterm=none gui=none
+hi LineNr ctermfg=247 guifg=#9e9e9e ctermbg=233 guibg=#121212
+hi MatchParen ctermfg=188 guifg=#dfdfdf ctermbg=68 guibg=#5f87df cterm=bold gui=bold
+" TODO
+" hi MoreMsg
+hi NonText ctermfg=247 guifg=#9e9e9e ctermbg=233 guibg=#121212 cterm=bold gui=bold
+hi Pmenu ctermfg=0 guifg=#000000 ctermbg=250 guibg=#bcbcbc
+hi PmenuSel ctermfg=255 guifg=#eeeeee ctermbg=243 guibg=#767676
+hi PmenuSbar ctermbg=252 guibg=#d0d0d0
+hi PmenuThumb ctermfg=243 guifg=#767676
+hi Search ctermfg=0 guifg=#000000 ctermbg=149 guibg=#afdf5f
+hi SignColumn ctermfg=248 guifg=#a8a8a8
+hi SpecialKey ctermfg=77 guifg=#5fdf5f
+hi SpellBad ctermfg=160 guifg=fg ctermbg=bg cterm=underline guisp=#df0000
+hi SpellCap ctermfg=189 guifg=#dfdfff ctermbg=bg guibg=bg cterm=underline gui=underline
+hi SpellRare ctermfg=168 guifg=#df5f87 ctermbg=bg guibg=bg cterm=underline gui=underline
+hi SpellLocal ctermfg=98 guifg=#875fdf ctermbg=bg guibg=bg cterm=underline gui=underline
+hi StatusLine ctermfg=15 guifg=#ffffff ctermbg=239 guibg=#4e4e4e cterm=bold gui=bold
+hi StatusLineNC ctermfg=249 guifg=#b2b2b2 ctermbg=237 guibg=#3a3a3a cterm=none gui=none
+hi TabLine ctermfg=fg guifg=fg ctermbg=242 guibg=#666666 cterm=none gui=none
+hi TabLineFill ctermfg=fg guifg=fg ctermbg=237 guibg=#3a3a3a cterm=none gui=none
+" FIXME
+hi Title ctermfg=225 guifg=#ffdfff
+hi Todo ctermfg=0 guifg=#000000 ctermbg=184 guibg=#dfdf00
+hi Underlined ctermfg=39 guifg=#00afff cterm=underline gui=underline
+hi VertSplit ctermfg=237 guifg=#3a3a3a ctermbg=237 guibg=#3a3a3a cterm=none gui=none
+" hi VIsualNOS ctermfg=24 guifg=#005f87 ctermbg=153 guibg=#afdfff cterm=none gui=none
+" hi Visual ctermfg=24 guifg=#005f87 ctermbg=153 guibg=#afdfff
+hi Visual ctermfg=255 guifg=#eeeeee ctermbg=96 guibg=#875f87
+" hi Visual ctermfg=255 guifg=#eeeeee ctermbg=24 guibg=#005f87
+hi VisualNOS ctermfg=255 guifg=#eeeeee ctermbg=60 guibg=#5f5f87
+hi WildMenu ctermfg=0 guifg=#000000 ctermbg=150 guibg=#afdf87 cterm=bold gui=bold
+
+"" Syntax highlighting {{{2
+hi Comment ctermfg=244 guifg=#808080
+hi Constant ctermfg=229 guifg=#ffffaf
+hi Identifier ctermfg=182 guifg=#dfafdf cterm=none
+hi Ignore ctermfg=238 guifg=#444444
+hi Number ctermfg=180 guifg=#dfaf87
+hi PreProc ctermfg=150 guifg=#afdf87
+hi Special ctermfg=174 guifg=#df8787
+hi Statement ctermfg=110 guifg=#87afdf cterm=none gui=none
+hi Type ctermfg=146 guifg=#afafdf cterm=none gui=none
+
+"" Special {{{2
+""" .diff {{{3
+hi diffAdded ctermfg=150 guifg=#afdf87
+hi diffRemoved ctermfg=174 guifg=#df8787
+""" vimdiff {{{3
+hi diffAdd ctermfg=bg guifg=bg ctermbg=151 guibg=#afdfaf
+"hi diffDelete ctermfg=bg guifg=bg ctermbg=186 guibg=#dfdf87 cterm=none gui=none
+hi diffDelete ctermfg=bg guifg=bg ctermbg=246 guibg=#949494 cterm=none gui=none
+hi diffChange ctermfg=bg guifg=bg ctermbg=181 guibg=#dfafaf
+hi diffText ctermfg=bg guifg=bg ctermbg=174 guibg=#df8787 cterm=none gui=none
+""" HTML {{{3
+" hi htmlTag ctermfg=146 guifg=#afafdf
+" hi htmlEndTag ctermfg=146 guifg=#afafdf
+hi htmlTag ctermfg=244
+hi htmlEndTag ctermfg=244
+hi htmlArg ctermfg=182 guifg=#dfafdf
+hi htmlValue ctermfg=187 guifg=#dfdfaf
+hi htmlTitle ctermfg=254 ctermbg=95
+" hi htmlArg ctermfg=146
+" hi htmlTagName ctermfg=146
+" hi htmlString ctermfg=187
+""" django {{{3
+hi djangoVarBlock ctermfg=180
+hi djangoTagBlock ctermfg=150
+hi djangoStatement ctermfg=146
+hi djangoFilter ctermfg=174
+""" python {{{3
+hi pythonExceptions ctermfg=174
+""" NERDTree {{{3
+hi Directory ctermfg=110 guifg=#87afdf
+hi treeCWD ctermfg=180 guifg=#dfaf87
+hi treeClosable ctermfg=174 guifg=#df8787
+hi treeOpenable ctermfg=150 guifg=#afdf87
+hi treePart ctermfg=244 guifg=#808080
+hi treeDirSlash ctermfg=244 guifg=#808080
+hi treeLink ctermfg=182 guifg=#dfafdf
+
+""" VimDebug {{{3
+" FIXME
+" you may want to set SignColumn highlight in your .vimrc
+" :help sign
+" :help SignColumn
+
+" hi currentLine term=reverse cterm=reverse gui=reverse
+" hi breakPoint term=NONE cterm=NONE gui=NONE
+" hi empty term=NONE cterm=NONE gui=NONE
+
+" sign define currentLine linehl=currentLine
+" sign define breakPoint linehl=breakPoint text=>>
+" sign define both linehl=currentLine text=>>
+" sign define empty linehl=empty
+
142 _vimrc
@@ -0,0 +1,142 @@
+" ------------------------------------------------------------------------------
+"
+" Andrey Paramonov's Vim Configuration
+"
+" It's based on smart guys' configurations:
+" http://github.com/derekwyatt/vim-config
+" http://mislav.uniqpath.com/2011/12/vim-revisited
+" http://stevelosh.com/blog/2010/09/coming-home-to-vim
+"
+" ------------------------------------------------------------------------------
+
+filetype off
+call pathogen#infect()
+filetype plugin indent on
+syntax on
+
+set nocompatible
+set encoding=utf-8
+set modelines=0
+
+" When the page starts to scroll, keep the cursor 8 lines from the top and 8
+" lines from the bottom
+set scrolloff=8
+
+" Tabulation options
+set tabstop=4
+set shiftwidth=4
+set softtabstop=4
+set expandtab
+
+" Indentation options for programming
+set autoindent
+set smartindent
+
+" Show the current mode
+set showmode
+
+" Display incomplete commands
+set showcmd
+
+" Make sure that unsaved buffers that are to be put in the background are
+" allowed to go in there (ie. the "must save first" error doesn't come up)
+set hidden
+
+" Make the command-line completion better
+set wildmenu
+set wildmode=list:longest
+
+" Allow backspacing over indent, eol, and the start of an insert
+set backspace=indent,eol,start
+
+" Always put a status line in, even if there is only one window
+set laststatus=2
+set statusline=%f\ %m\ %r\ Line:%l/%L[%p%%]\ Col:%v\ Buf:#%n\ [%b][0x%B]
+
+" Make the 'cw' and like commands put a $ at the end instead of just deleting
+" the text and replacing it
+set cpoptions+=$
+
+" Shoe line numbers
+set number
+
+" Add the unnamed register to the clipboard
+set clipboard+=unnamed
+
+" Search options
+set ignorecase
+set smartcase
+set gdefault
+set incsearch
+set showmatch
+set hlsearch
+
+"set path=.,~/projects/**
+
+" ------------------------------------------------------------------------------
+" Train myself not to use arrow keys
+" ------------------------------------------------------------------------------
+
+nnoremap <up> <nop>
+nnoremap <down> <nop>
+nnoremap <left> <nop>
+nnoremap <right> <nop>
+inoremap <up> <nop>
+inoremap <down> <nop>
+inoremap <left> <nop>
+inoremap <right> <nop>
+
+" ------------------------------------------------------------------------------
+" My custom settings
+" ------------------------------------------------------------------------------
+
+let mapleader = ","
+
+nnoremap <leader><space> :noh<cr>
+nnoremap <tab> %
+vnoremap <tab> %
+
+nnoremap <leader>a :Ack
+
+nnoremap ; :
+
+nnoremap <leader>v V`]
+
+inoremap jj <ESC>
+
+nnoremap <leader>w <C-w>v<C-w>l
+
+nnoremap <C-h> <C-w>h
+nnoremap <C-j> <C-w>j
+nnoremap <C-k> <C-w>k
+nnoremap <C-l> <C-w>l
+
+" ------------------------------------------------------------------------------
+" GUI settings
+" ------------------------------------------------------------------------------
+
+if has("gui_running")
+ set guioptions-=m " get rid of menue
+ set guioptions-=T " get rid of toolbar
+ set guioptions-=L " get rid of left scrollbar
+ set guioptions-=r " get rid of right scrollbar
+ set guioptions-=b " get rid of bottom scrollbar
+ set go-=L " get rid of left split scrollbar
+ set go-=r " get rid of right split scrollbar
+ colorscheme xoria256 " make sure you have this scheme in ~/.vim/colors
+ if has("window")
+ set guifont=lucida_console:h8
+ elseif has("mac")
+ set guifont=menlo:h12
+ endif
+ if !exists("g:vimrcloaded")
+ winpos 0 0
+ set lines=63 " make it full screen on my MacBook
+ set columns=205
+ let g:vimrcloaded = 1
+ endif
+else
+ "set t_Co=256
+ colorscheme koehler
+endif
+

0 comments on commit 17f7f7b

Please sign in to comment.