diff --git a/modules/mapping.vim b/modules/mapping.vim index c3012596f..66210f4ed 100644 --- a/modules/mapping.vim +++ b/modules/mapping.vim @@ -13,12 +13,15 @@ function TrimWhiteSpace() map o :call TrimWhiteSpace() "Moving lines -nnoremap :m+== -nnoremap :m-2== -inoremap :m+==gi -inoremap :m-2==gi -vnoremap :m'>+gv=gv -vnoremap :m-2gv=gv +noremap :m+== +noremap :m-2== +noremap :m+==gi +noremap :m-2==gi +noremap :m'>+gv=gv +noremap :m-2gv=gv + +vnoremap xp +vnoremap xP "Rope stuffs autocmd FileType python map :RopeGotoDefinition