vim plugin - Vim commands containing `r` cause me to replace -


i'm using vim , python-mode extension, i'm having hard time using commands contain r. it's causing vim replace characters instead of executing desired command.

here vim docs python-mode -

let g:pymode_rope_organize_imports_bind = '<c-c>ro' 

so i'm doing ctrl-cro, said, it's replacing ever character i'm under letter o.

what missing?

it seems mapping not being interpreted vim, sees ctrl-c, default aborts current action, replace command r (see :help r) followed "argument".

you check if mapping defined :map <c-c>.

if correctly defined may terminal handling ctrl-c directly , not passing vim, stated in vim faq 20.5 - why mapping key not work?. in case follow instructions on vim faq 20.4 - not able create mapping key. wrong?, in special:

1) first make sure, key passed correctly vim. determine if    case, put vim in insert mode , hit ctrl-v (or    ctrl-q if ctrl-v remapped paste operation (e.g. on    windows if using mswin.vim script file) followed    key.     if nothing appears in buffer (and assuming have    'showcmd' on, ^v remains displayed near bottom right of vim    screen), vim doesn't key correctly , there nothing    done, other selecting different key mapping or    using gvim, should recognise key correctly. 

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -