Mercurial > dotfiles.old
changeset 164:b18950d832ab
Add RSpec - vimux shortcut
author | zegervdv <zegervdv@me.com> |
---|---|
date | Thu, 30 Oct 2014 20:39:24 +0100 |
parents | 5b0efdc92e65 |
children | 6993291f1552 |
files | vimrc zsh/exports.zsh |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/vimrc Sun Oct 26 17:22:44 2014 +0100 +++ b/vimrc Thu Oct 30 20:39:24 2014 +0100 @@ -616,6 +616,7 @@ " Vimux {{{ let g:VimuxUseNearest = 1 nnoremap <silent><leader>s :w<CR>:call VimuxRunCommand('%run -i ' . expand('%'))<CR> +nnoremap <silent><leader>r :w<CR>:call VimuxRunCommand('rake spec')<CR> " }}} " Tmuxline {{{ let g:tmuxline_powerline_separators=0
--- a/zsh/exports.zsh Sun Oct 26 17:22:44 2014 +0100 +++ b/zsh/exports.zsh Thu Oct 30 20:39:24 2014 +0100 @@ -1,6 +1,6 @@ export PATH=$PATH:/usr/local/opt/ruby/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/texbin:/usr/local/sbin export PATH="/usr/local/bin:$PATH" -export NODE_PATH="/usr/local/lib/node" +export NODE_PATH="/usr/local/lib/node_modules" export PATH="/usr/local/share/npm/bin:$PATH" export PATH=$PATH:$HOME/.bin # if rbenv is present, configure it for use