Skip to content

Commit

Permalink
Comments and minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Paramonov committed Oct 23, 2012
1 parent ceac873 commit b69d4f7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .profile
Expand Up @@ -30,19 +30,18 @@ export ERL_LIB=/usr/local/lib/erlang/lib

export PROJECTS_HOME=~/projects

## Options
## Java options
##
export ANT_OPTS="-Xms512m -Xmx1024m -XX:PermSize=512m -XX:MaxPermSize=512m"

export MAVEN_OPTS="-Xms512m -Xmx768m -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="-Xms512m -Xmx768m -XX:PermSize=512m -XX:MaxPermSize=512m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n -agentpath:/opt/yourkit/yjp-8.0.6/bin/mac/libyjpagent.jnilib=disablestacktelemetry,delay=10000,sessionname=Jetty"

## Path
##
export PATH=~/bin:$JAVA_HOME/bin:$MAVEN_HOME/bin:$PATH
export PATH=$PATH:/opt/local/bin:/opt/local/sbin
export PATH=$PATH:$GROOVY_HOME/bin:$GRAILS_HOME/bin:$GRADLE_HOME/bin:$ANT_HOME/bin:$SOAPUI_HOME/bin:$APPENGINE_HOME/bin:$MULTIMARKDOWN_HOME/bin:$PROJECTS_HOME/ndpar/ruby
export PATH=$PATH:$SCALA_HOME/bin:$GROOVY_HOME/bin:$GRAILS_HOME/bin:$GRADLE_HOME/bin:$ANT_HOME/bin
export PATH=$PATH:$SOAPUI_HOME/bin:$APPENGINE_HOME/bin:$MULTIMARKDOWN_HOME/bin:$PROJECTS_HOME/ndpar/ruby
export PATH=$PATH:/usr/local/lib/erlang/bin:/opt/lisp/sbcl/sbcl/bin
export PATH=$PATH:/Applications/Flash\ Player.app/Contents/MacOS/

Expand All @@ -57,7 +56,7 @@ export EDITOR=vi
##
alias ll='ls -al'
alias tac='tail -r'
alias cdp='cd ~/projects'
alias cdp='cd $PROJECTS_HOME'
alias g='/Applications/MacVim.app/Contents/MacOS/Vim --remote-silent'

# Windows specific settings
Expand Down
9 changes: 6 additions & 3 deletions .vimrc
Expand Up @@ -42,7 +42,7 @@ set showmode
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)
" allowed to go in there (ie. the 'must save first' error doesn't come up)
set hidden

" Make the command-line completion better
Expand Down Expand Up @@ -108,6 +108,7 @@ nnoremap ; :
nnoremap <leader>v V`]
" In normal mode, jj escapes
inoremap jj <ESC>
nnoremap <leader>w <C-w>v<C-w>l
Expand All @@ -117,11 +118,13 @@ nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
nnoremap <C-l> <C-w>l
" Make <space> in normal mode go down a page rather than left a character
noremap <space> <C-f>
" Write the file you don't have permissions to
cmap w!! w !sudo tee > /dev/null %
"cmap w!! w !sudo tee > /dev/null %

" VimClojure

let g:vimclojure#HighlightBuiltins = 1
let g:vimclojure#ParenRainbow = 1

Expand Down

0 comments on commit b69d4f7

Please sign in to comment.