Skip to content

Commit

Permalink
Some updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Bradley Temple committed Mar 25, 2015
1 parent bdb6c21 commit 214203c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions bin/vim-clear
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

rm /tmp/*.swp
1 change: 1 addition & 0 deletions vim/config/key_mappings.vim
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ let g:rspec_command = "!zeus rspec {spec}"
nmap gs :e db/schema.rb<cr>
nmap gr :e config/routes.rb<cr>
nmap gm :e Gemfile<cr>
nmap cdy :e config/database.yml
" insert blank lines without going into insert mode
nmap go o<esc>
Expand Down
3 changes: 2 additions & 1 deletion vim/config/plugin_config.vim
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ NeoBundle 'wgibbs/vim-irblack.git'
NeoBundle 'tpope/vim-abolish.git'
NeoBundle 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
NeoBundle 'thoughtbot/vim-rspec'

NeoBundle 'godlygeek/tabular'
NeoBundle 'plasticboy/vim-markdown'

" CtrlP - with FuzzyFinder compatible keymaps
NeoBundle 'kien/ctrlp.vim'
Expand Down
5 changes: 5 additions & 0 deletions zsh/themes/dvg-agnoster.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ prompt_dev_root() {

}

prompt_ruby() {
prompt_segment 160 52 "💎 $(ruby -e 'print RUBY_VERSION')"
}

# Git: branch/detached head, dirty status
prompt_git() {
local ref dirty mode repo_path
Expand Down Expand Up @@ -178,6 +182,7 @@ build_prompt() {
prompt_status
prompt_virtualenv
prompt_dev_root
prompt_ruby
prompt_context
prompt_dir
prompt_git
Expand Down

0 comments on commit 214203c

Please sign in to comment.