ropevim source usr src ropevim ropevim vim let ropevim_vim_completi on

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
" ropevim
source /usr/src/ropevim/ropevim.vim
let ropevim_vim_completion=1
function! TabWrapperRope()
if strpart(getline('.'), 0, col('.')-1) =~ '^\s*$'
return "\<Tab>"
else
return "\<C-R>=RopeCodeAssistInsertMode()\<CR>"
endif
endfunction
imap <Tab> <C-R>=TabWrapperRope()<CR>