@@ -261,25 +261,6 @@ if !pymode#Default("g:pymode_rope", 1) || g:pymode_rope
261
261
endif
262
262
endfunction " }}}
263
263
264
- fun ! RopeOpenSession ()" {{{
265
- if filereadable (getcwd () .' /.ropeproject/.session.vim' )
266
- execute ' source' .getcwd () .' /.ropeproject/.session.vim'
267
- if bufexists (1 )
268
- for l in range (1 ,bufnr (' $' ))
269
- if bufwinnr (l )== -1
270
- execute ' sbuffer' .l
271
- endif
272
- endfor
273
- endif
274
- endif
275
- endfunction " }}}
276
-
277
- fun ! RopeSaveSession ()" {{{
278
- if isdirectory (getcwd () .' /.ropeproject' )
279
- execute ' mksession!' .getcwd () .' /.ropeproject/.session.vim'
280
- endif
281
- endfunction " }}}
282
-
283
264
fun ! RopeLuckyAssistInsertMode ()" {{{
284
265
call RopeLuckyAssist ()
285
266
return " "
@@ -315,8 +296,6 @@ if !pymode#Default("g:pymode_rope", 1) || g:pymode_rope
315
296
menu <silent> Rope.Restructure :RopeRestructure<CR>
316
297
menu <silent> Rope.Undo :RopeUndo<CR>
317
298
menu <silent> Rope.UseFunction :RopeUseFunction<CR>
318
- menu <silent> Rope.OpenSession :call RopeOpenSession ()<CR>
319
- menu <silent> Rope.SaveSession :call RopeSaveSession ()<CR>
320
299
321
300
if ! pymode#Default (" g:pymode_rope_auto_project_open" ,1 )|| g: pymode_rope_auto_project_open
322
301
call RopeOpenExistingProject ()