You don't identify yourself
Today I found an interesting project "rope". It is a python library for refactoring python code. Also, it has frontends for vim and emacs. As I am active user of the vim, I wrote a simple script, to simplify installation and update of the ropevim. To try ropevim, you need a Vim with support for python plugins and mercurial, to fetch sources of the rope from repository. If you work under Linux Ubuntu, like me, then you need to do few simple commands, to install the ropevim:
That's it! Enjoy python refactoring with vim and rope. And don't forget to read a ropevim manual with default keybindings.
There you have it! Rope has lots more features, so be sure to read the readme. Thanks to Alexander Artemenko for the easy-to-use script.
Comments
Subscribe on this post's comments
permalink
dear alexander, why is your bash script extracted from the tarball using dos-style newlines? i've fixed that though
permalink
Thanks, already fixed.
permalink
dear alexander, your new commit broke the old code by omitting the pound sign of the shebang...
permalink
Well, I fix it, but I can't to upload my file to gist with unix-style newlines! It converts them to dos-style :-(
permalink
Hi Alex,
your install script proved very useful to me - the ropevim instructions left me a little confused.
I did have a problem with the PYTHONPATH setting in the rope.vim the script creates; I changed it to this:
"let $PYTHONPATH .= ":/path/to/install/ropevim/pylibs"
python import sys; sys.path.append("/path/to/install/ropevim/pylibs"); del sys
source /path/to/install/ropevim/ropevim.vim
If anybody else gets stuck maybe they will find this useful.
permalink
If you work under Linux Ubuntu, like me, than you need to do few simple commands, to install the ropevim:
Note: Should be "then"?
permalink
Yes, thanks.
permalink
Thanks a bunch - this is just what I was looking for!
If you wish to leave comment, please, identify yourself and then come back to this page.