11" vi: fdl = 1
22let g: pymode_version = " 0.13.0"
33
4+
45" Enable pymode by default :)
56call pymode#default (' g:pymode' , 1 )
67call pymode#default (' g:pymode_debug' , 0 )
@@ -182,6 +183,7 @@ call pymode#default('g:pymode_breakpoint_cmd', '')
182183"
183184" Rope support
184185call pymode#default (' g:pymode_rope' , 0 )
186+ call pymode#default (' g:pymode_rope_prefix' , ' <C-c>' )
185187
186188" System plugin variable
187189if g: pymode_rope
@@ -210,7 +212,7 @@ if g:pymode_rope
210212 call pymode#default (' g:pymode_rope_autoimport_modules' , [' os' , ' shutil' , ' datetime' ])
211213
212214 " Bind keys to autoimport module for object under cursor
213- call pymode#default (' g:pymode_rope_autoimport_bind' , ' <C-c> ra' )
215+ call pymode#default (' g:pymode_rope_autoimport_bind' , g: pymode_rope_prefix . ' ra' )
214216
215217 " Automatic completion on dot
216218 call pymode#default (' g:pymode_rope_complete_on_dot' , 1 )
@@ -219,56 +221,57 @@ if g:pymode_rope
219221 call pymode#default (' g:pymode_rope_completion_bind' , ' <C-Space>' )
220222
221223 " Bind keys for goto definition (leave empty for disable)
222- call pymode#default (' g:pymode_rope_goto_definition_bind' , ' <C-c>g' )
224+ " call pymode#default('g:pymode_rope_goto_definition_bind', g:pymode_rope_prefix . 'g')
225+ call pymode#default (' g:pymode_rope_goto_definition_bind' , g: pymode_rope_prefix . ' g' )
223226
224227 " set command for open definition (e, new, vnew)
225228 call pymode#default (' g:pymode_rope_goto_definition_cmd' , ' new' )
226229
227230 " Bind keys for show documentation (leave empty for disable)
228- call pymode#default (' g:pymode_rope_show_doc_bind' , ' <C-c> d' )
231+ call pymode#default (' g:pymode_rope_show_doc_bind' , g: pymode_rope_prefix . ' d' )
229232
230233 " Bind keys for find occurencies (leave empty for disable)
231- call pymode#default (' g:pymode_rope_find_it_bind' , ' <C-c> f' )
234+ call pymode#default (' g:pymode_rope_find_it_bind' , g: pymode_rope_prefix . ' f' )
232235
233236 " Bind keys for organize imports (leave empty for disable)
234- call pymode#default (' g:pymode_rope_organize_imports_bind' , ' <C-c> ro' )
237+ call pymode#default (' g:pymode_rope_organize_imports_bind' , g: pymode_rope_prefix . ' ro' )
235238
236239 " Bind keys for rename variable/method/class in the project (leave empty for disable)
237- call pymode#default (' g:pymode_rope_rename_bind' , ' <C-c> rr' )
240+ call pymode#default (' g:pymode_rope_rename_bind' , g: pymode_rope_prefix . ' rr' )
238241
239242 " Bind keys for rename module
240- call pymode#default (' g:pymode_rope_rename_module_bind' , ' <C-c> r1r' )
243+ call pymode#default (' g:pymode_rope_rename_module_bind' , g: pymode_rope_prefix . ' r1r' )
241244
242245 " Bind keys for convert module to package
243- call pymode#default (' g:pymode_rope_module_to_package_bind' , ' <C-c> r1p' )
246+ call pymode#default (' g:pymode_rope_module_to_package_bind' , g: pymode_rope_prefix . ' r1p' )
244247
245248 " Creates a new function or method (depending on the context) from the selected lines
246- call pymode#default (' g:pymode_rope_extract_method_bind' , ' <C-c> rm' )
249+ call pymode#default (' g:pymode_rope_extract_method_bind' , g: pymode_rope_prefix . ' rm' )
247250
248251 " Creates a variable from the selected lines
249- call pymode#default (' g:pymode_rope_extract_variable_bind' , ' <C-c> rl' )
252+ call pymode#default (' g:pymode_rope_extract_variable_bind' , g: pymode_rope_prefix . ' rl' )
250253
251254 " Inline refactoring
252- call pymode#default (' g:pymode_rope_inline_bind' , ' <C-c> ri' )
255+ call pymode#default (' g:pymode_rope_inline_bind' , g: pymode_rope_prefix . ' ri' )
253256
254257 " Move refactoring
255- call pymode#default (' g:pymode_rope_move_bind' , ' <C-c> rv' )
258+ call pymode#default (' g:pymode_rope_move_bind' , g: pymode_rope_prefix . ' rv' )
256259
257260 " Generate function
258- call pymode#default (' g:pymode_rope_generate_function_bind' , ' <C-c> rnf' )
261+ call pymode#default (' g:pymode_rope_generate_function_bind' , g: pymode_rope_prefix . ' rnf' )
259262
260263 " Generate class
261- call pymode#default (' g:pymode_rope_generate_class_bind' , ' <C-c> rnc' )
264+ call pymode#default (' g:pymode_rope_generate_class_bind' , g: pymode_rope_prefix . ' rnc' )
262265
263266 " Generate package
264- call pymode#default (' g:pymode_rope_generate_package_bind' , ' <C-c> rnp' )
267+ call pymode#default (' g:pymode_rope_generate_package_bind' , g: pymode_rope_prefix . ' rnp' )
265268
266269 " Change signature
267- call pymode#default (' g:pymode_rope_change_signature_bind' , ' <C-c> rs' )
270+ call pymode#default (' g:pymode_rope_change_signature_bind' , g: pymode_rope_prefix . ' rs' )
268271
269272 " Tries to find the places in which a function can be used and changes the
270273 " code to call it instead
271- call pymode#default (' g:pymode_rope_use_function_bind' , ' <C-c> ru' )
274+ call pymode#default (' g:pymode_rope_use_function_bind' , g: pymode_rope_prefix . ' ru' )
272275
273276 " Regenerate project cache on every save
274277 call pymode#default (' g:pymode_rope_regenerate_on_write' , 1 )
0 commit comments