Skip to content

Commit

Permalink
Some refactoring tools with rope
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Jun 24, 2011
1 parent d0c6751 commit cb2e6f6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/mapping.vim
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ inoremap <C-j> <Esc>:m+<CR>==gi
inoremap <C-k> <Esc>:m-2<CR>==gi
vnoremap <C-j> :m'>+<CR>gv=gv
vnoremap <C-k> :m-2<CR>gv=gv
"Rope stuffs
autocmd FileType python map <C-g> :RopeGotoDefinition<CR>
autocmd FileType python map <D-r> :RopeRename<CR>
autocmd FileType python vmap <D-Return> :RopeExtractMethod<CR>

0 comments on commit cb2e6f6

Please sign in to comment.