Skip to content

Commit

Permalink
Run commands interactively from vim
Browse files Browse the repository at this point in the history
This allows us to do things like:

    <Leader>r migrate
  • Loading branch information
Dan Croak committed Apr 25, 2014
1 parent 0d749ca commit 5f02a1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ nnoremap <Leader>t :call RunCurrentSpecFile()<CR>
nnoremap <Leader>s :call RunNearestSpec()<CR>
nnoremap <Leader>l :call RunLastSpec()<CR>
" Run commands that require an interactive shell
nnoremap <Leader>r :RunInInteractiveShell<space>
" Treat <li> and <p> tags like the block tags they are
let g:html_indent_tags = 'li\|p'

Expand Down
1 change: 1 addition & 0 deletions vimrc.bundles
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ call vundle#rc()
Bundle 'gmarik/vundle'

" Define bundles via Github repos
Bundle 'christoomey/vim-run-interactive'
Bundle 'croaky/vim-colors-github'
Bundle 'danro/rename.vim'
Bundle 'kchmck/vim-coffee-script'
Expand Down

0 comments on commit 5f02a1d

Please sign in to comment.