From cb2e6f699d4aa96c1daab4055da9d7addfc61fe1 Mon Sep 17 00:00:00 2001 From: Francisco Souza Date: Thu, 23 Jun 2011 23:52:36 -0300 Subject: [PATCH] Some refactoring tools with rope --- modules/mapping.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/mapping.vim b/modules/mapping.vim index a1b643ccf..7dd4de3fb 100644 --- a/modules/mapping.vim +++ b/modules/mapping.vim @@ -23,3 +23,8 @@ inoremap :m+==gi inoremap :m-2==gi vnoremap :m'>+gv=gv vnoremap :m-2gv=gv + +"Rope stuffs +autocmd FileType python map :RopeGotoDefinition +autocmd FileType python map :RopeRename +autocmd FileType python vmap :RopeExtractMethod