1
1
" vi: fdl = 1
2
2
let g: pymode_version = " 0.13.0"
3
3
4
+
4
5
" Enable pymode by default :)
5
6
call pymode#default (' g:pymode' , 1 )
6
7
call pymode#default (' g:pymode_debug' , 0 )
@@ -185,6 +186,7 @@ call pymode#default('g:pymode_breakpoint_cmd', '')
185
186
"
186
187
" Rope support
187
188
call pymode#default (' g:pymode_rope' , 0 )
189
+ call pymode#default (' g:pymode_rope_prefix' , ' <C-c>' )
188
190
189
191
" System plugin variable
190
192
if g: pymode_rope
@@ -213,7 +215,7 @@ if g:pymode_rope
213
215
call pymode#default (' g:pymode_rope_autoimport_modules' , [' os' , ' shutil' , ' datetime' ])
214
216
215
217
" Bind keys to autoimport module for object under cursor
216
- call pymode#default (' g:pymode_rope_autoimport_bind' , ' <C-c> ra' )
218
+ call pymode#default (' g:pymode_rope_autoimport_bind' , g: pymode_rope_prefix . ' ra' )
217
219
218
220
" Automatic completion on dot
219
221
call pymode#default (' g:pymode_rope_complete_on_dot' , 1 )
@@ -222,56 +224,56 @@ if g:pymode_rope
222
224
call pymode#default (' g:pymode_rope_completion_bind' , ' <C-Space>' )
223
225
224
226
" Bind keys for goto definition (leave empty for disable)
225
- call pymode#default (' g:pymode_rope_goto_definition_bind' , ' <C-c> g' )
227
+ call pymode#default (' g:pymode_rope_goto_definition_bind' , g: pymode_rope_prefix . ' g' )
226
228
227
229
" set command for open definition (e, new, vnew)
228
230
call pymode#default (' g:pymode_rope_goto_definition_cmd' , ' new' )
229
231
230
232
" Bind keys for show documentation (leave empty for disable)
231
- call pymode#default (' g:pymode_rope_show_doc_bind' , ' <C-c> d' )
233
+ call pymode#default (' g:pymode_rope_show_doc_bind' , g: pymode_rope_prefix . ' d' )
232
234
233
235
" Bind keys for find occurencies (leave empty for disable)
234
- call pymode#default (' g:pymode_rope_find_it_bind' , ' <C-c> f' )
236
+ call pymode#default (' g:pymode_rope_find_it_bind' , g: pymode_rope_prefix . ' f' )
235
237
236
238
" Bind keys for organize imports (leave empty for disable)
237
- call pymode#default (' g:pymode_rope_organize_imports_bind' , ' <C-c> ro' )
239
+ call pymode#default (' g:pymode_rope_organize_imports_bind' , g: pymode_rope_prefix . ' ro' )
238
240
239
241
" Bind keys for rename variable/method/class in the project (leave empty for disable)
240
- call pymode#default (' g:pymode_rope_rename_bind' , ' <C-c> rr' )
242
+ call pymode#default (' g:pymode_rope_rename_bind' , g: pymode_rope_prefix . ' rr' )
241
243
242
244
" Bind keys for rename module
243
- call pymode#default (' g:pymode_rope_rename_module_bind' , ' <C-c> r1r' )
245
+ call pymode#default (' g:pymode_rope_rename_module_bind' , g: pymode_rope_prefix . ' r1r' )
244
246
245
247
" Bind keys for convert module to package
246
- call pymode#default (' g:pymode_rope_module_to_package_bind' , ' <C-c> r1p' )
248
+ call pymode#default (' g:pymode_rope_module_to_package_bind' , g: pymode_rope_prefix . ' r1p' )
247
249
248
250
" Creates a new function or method (depending on the context) from the selected lines
249
- call pymode#default (' g:pymode_rope_extract_method_bind' , ' <C-c> rm' )
251
+ call pymode#default (' g:pymode_rope_extract_method_bind' , g: pymode_rope_prefix . ' rm' )
250
252
251
253
" Creates a variable from the selected lines
252
- call pymode#default (' g:pymode_rope_extract_variable_bind' , ' <C-c> rl' )
254
+ call pymode#default (' g:pymode_rope_extract_variable_bind' , g: pymode_rope_prefix . ' rl' )
253
255
254
256
" Inline refactoring
255
- call pymode#default (' g:pymode_rope_inline_bind' , ' <C-c> ri' )
257
+ call pymode#default (' g:pymode_rope_inline_bind' , g: pymode_rope_prefix . ' ri' )
256
258
257
259
" Move refactoring
258
- call pymode#default (' g:pymode_rope_move_bind' , ' <C-c> rv' )
260
+ call pymode#default (' g:pymode_rope_move_bind' , g: pymode_rope_prefix . ' rv' )
259
261
260
262
" Generate function
D763
div>
261
- call pymode#default (' g:pymode_rope_generate_function_bind' , ' <C-c> rnf' )
263
+ call pymode#default (' g:pymode_rope_generate_function_bind' , g: pymode_rope_prefix . ' rnf' )
262
264
263
265
" Generate class
264
- call pymode#default (' g:pymode_rope_generate_class_bind' , ' <C-c> rnc' )
266
+ call pymode#default (' g:pymode_rope_generate_class_bind' , g: pymode_rope_prefix . ' rnc' )
265
267
266
268
" Generate package
267
- call pymode#default (' g:pymode_rope_generate_package_bind' , ' <C-c> rnp' )
269
+ call pymode#default (' g:pymode_rope_generate_package_bind' , g: pymode_rope_prefix . ' rnp' )
268
270
269
271
" Change signature
270
- call pymode#default (' g:pymode_rope_change_signature_bind' , ' <C-c> rs' )
272
+ call pymode#default (' g:pymode_rope_change_signature_bind' , g: pymode_rope_prefix . ' rs' )
271
273
272
274
" Tries to find the places in which a function can be used and changes the
273
275
" code to call it instead
274
- call pymode#default (' g:pymode_rope_use_function_bind' , ' <C-c> ru' )
276
+ call pymode#default (' g:pymode_rope_use_function_bind' , g: pymode_rope_prefix . ' ru' )
275
277
276
278
" Regenerate project cache on every save
277
279
call pymode#default (' g:pymode_rope_regenerate_on_write' , 1 )
0 commit comments