Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better history

  • Loading branch information...
commit 9df48a65fbc138fb549cfa7efbe8a8166a6f1f13 1 parent a0b0a4d
Andrey Paramonov authored
Showing with 12 additions and 0 deletions.
  1. +7 −0 .profile
  2. +5 −0 .vimrc
View
7 .profile
@@ -1,12 +1,19 @@
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
+## Better history
+##
+export HISTIGNORE="&:[ ]*"
+export HISTSIZE=2500
+export HISTFILESIZE=2500
+
## Home directories
##
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
export MAVEN_HOME=/opt/maven/maven
export ANT_HOME=/usr/share/ant
export JBOSS_HOME=/opt/jboss/jboss
+export SCALA_HOME=/opt/scala/sbt
export GROOVY_HOME=/opt/groovy/groovy
export GRAILS_HOME=/opt/grails/grails
export GRADLE_HOME=/opt/gradle/gradle
View
5 .vimrc
@@ -6,6 +6,7 @@
" http://github.com/derekwyatt/vim-config
" http://mislav.uniqpath.com/2011/12/vim-revisited
" http://stevelosh.com/blog/2010/09/coming-home-to-vim
+" http://ciaranm.wordpress.com/2008/05/15/my-vimrc/
"
" ------------------------------------------------------------------------------
@@ -20,6 +21,10 @@ set modelines=0
" lines from the bottom
set scrolloff=8
+" Enable a nice big viminfo file
+set viminfo='1000,f1,:1000,/1000
+set history=500
+
" Tabulation options
set tabstop=4
set shiftwidth=4
Please sign in to comment.
Something went wrong with that request. Please try again.