Skip to content

Commit 95bd4ce

Browse files
author
Lowe Thiderman
committed
Fix hardcoded mappings
Fix mappings to rope that did not honor g:pymode_rope_local_prefix
1 parent d27022d commit 95bd4ce

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ftplugin/python/pymode.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ endif
103103
if g:pymode_rope
104104

105105
" DESC: Set keys
106-
noremap <silent> <buffer> <C-c>g :RopeGotoDefinition<CR>
107-
noremap <silent> <buffer> <C-c>d :RopeShowDoc<CR>
108-
noremap <silent> <buffer> <C-c>f :RopeFindOccurrences<CR>
109-
noremap <silent> <buffer> <C-c>m :emenu Rope.<TAB>
106+
exec "noremap <silent> <buffer> " . g:pymode_rope_local_prefix . "g :RopeGotoDefinition<CR>"
107+
exec "noremap <silent> <buffer> " . g:pymode_rope_local_prefix . "d :RopeShowDoc<CR>"
108+
exec "noremap <silent> <buffer> " . g:pymode_rope_local_prefix . "f :RopeFindOccurrences<CR>"
109+
exec "noremap <silent> <buffer> " . g:pymode_rope_local_prefix . "m :emenu Rope . <TAB>"
110110
inoremap <silent> <buffer> <S-TAB> <C-R>=RopeLuckyAssistInsertMode()<CR>
111111
112112
let s:prascm = g:pymode_rope_always_show_complete_menu ? "<C-P>" : ""

0 commit comments

Comments
 (0)