diff --git a/.irbrc b/.irbrc index 3952386..75a8d43 100644 --- a/.irbrc +++ b/.irbrc @@ -1,4 +1,5 @@ require "irb/ext/save-history" +require "irb/completion" IRB.conf[:SAVE_HISTORY] = 1000 IRB.conf[:HISTORY_FILE] = "#{ENV["HOME"]}/.irb_history" diff --git a/.profile b/.profile index 62ff979..4dd9e22 100644 --- a/.profile +++ b/.profile @@ -1,4 +1,5 @@ export RBENV_ROOT="$HOME/.rbenv" +export RBENV_BUILD_ROOT="$RBENV_ROOT/sources" export PATH="$RBENV_ROOT/bin:$PATH" eval "$(rbenv init -)" alias l="ls -Glah" diff --git a/.slate b/.slate index 33428cf..e069688 100644 --- a/.slate +++ b/.slate @@ -3,8 +3,8 @@ config nudgePercentOf screenSize config resizePercentOf screenSize alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY -alias thinleft move screenOriginX;screenOriginY screenSizeX/3;screenSizeY -alias wideright move screenOriginX+screenSizeX/3;screenOriginY (screenSizeX/3)*2;screenSizeY +alias thinleft move screenOriginX;screenOriginY screenSizeX/2.5;screenSizeY +alias wideright move screenOriginX+screenSizeX/2.5;screenOriginY (screenSizeX/2.5)*1.5;screenSizeY layout twoapps "Terminal":REPEAT ${thinleft} layout twoapps "TextMate":REPEAT ${wideright} diff --git a/.vimrc b/.vimrc index c15982b..f3c1bdf 100644 --- a/.vimrc +++ b/.vimrc @@ -65,6 +65,12 @@ set relativenumber syntax on colorscheme Tomorrow-Night +" disable netrw history +let g:netrw_dirhistmax=0 + +" make backspace work as expected +set backspace=indent,eol,start + " enable clipboard integration on osx (if compiled with +clipboard) set clipboard=unnamed @@ -129,7 +135,7 @@ noremap noremap q " remove search highlight when hitting escape again -nnoremap :nohlsearch +nnoremap :nohlsearch " yank till end of line nnoremap Y y$ diff --git a/setup.sh b/setup.sh index 98de9ac..73f9d16 100755 --- a/setup.sh +++ b/setup.sh @@ -26,6 +26,12 @@ if ! which brew; then ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Ho brew-install ag # install readline, useful in combination with ruby-build because it will link ruby installations to it brew-install readline +# install homebrew-cask to install other osx related stuff +brew install caskroom/cask/brew-cask +# tap into homebrew-fonts +brew tap caskroom/fonts +# install Adobe Source Code Pro +brew cask install font-source-code-pro # install rbenv if [ ! -d .rbenv ]; then git clone https://github.com/sstephenson/rbenv.git .rbenv; fi @@ -44,7 +50,7 @@ if [ ! -d .vim/bundle/Vundle.vim ]; then git clone https://github.com/gmarik/Vun vim +PluginInstall +qall # install vim command-t extension -if [ ! -f .vim/bundle/command-t/ruby/comamnd-t/.done ]; then +if [ ! -f .vim/bundle/command-t/ruby/command-t/.done ]; then cd .vim/bundle/command-t/ruby/command-t ruby extconf.rb if [ make ]; then touch .done; fi