Skip to content

Commit

Permalink
Merge branch 'master' of github.com:cpdean/cpd.dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
cpdean committed Jul 3, 2015
2 parents 1a9ddff + 0b4f16d commit 327b36d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,15 @@ let g:VimuxOrientation = "h"
nmap <leader>tt :call VimuxRunCommand("py.test ".expand("%:@"))
map <leader>tq :VimuxCloseRunner<CR>
" wut wut wut wut wut wut wut
" only for ipython
function! Cpaste_Send()
call VimuxRunCommand("%cpaste")
call VimuxRunCommand(@")
call VimuxRunCommand("^D")
endfunction
vnoremap <leader>te y:call Cpaste_Send()<CR>
" mad rerun skills
nmap <silent> <CR> :call VimuxRunLastCommand()<CR>
Expand Down

0 comments on commit 327b36d

Please sign in to comment.