Skip to content

Commit

Permalink
Some minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Overbryd committed May 20, 2015
1 parent 421e629 commit de20dff
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
1 change: 1 addition & 0 deletions .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"

1 change: 1 addition & 0 deletions .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"
Expand Down
4 changes: 2 additions & 2 deletions .slate
Expand Up @@ -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}
Expand Down
8 changes: 7 additions & 1 deletion .vimrc
Expand Up @@ -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

Expand Down Expand Up @@ -129,7 +135,7 @@ noremap <Right> <NOP>
noremap <D-w> <C-w>q
" remove search highlight when hitting escape again
nnoremap <ESC> :nohlsearch<CR>
nnoremap <Enter> :nohlsearch<CR>
" yank till end of line
nnoremap Y y$
Expand Down
8 changes: 7 additions & 1 deletion setup.sh
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit de20dff

Please sign in to comment.