Let's say I need reverse
function in my newly created hello_world.py
file and I have not imported it yet:
url = reverse('hell-world')
I would love to go onto the reverse
name, press VIM binding and get from django.urls import reverse
line inserted in the beginning of the file, e.g.:
from django.urls import reverse
url = reverse('hello-world')
I have heard about ropevim
, python-mode
VIM plugins, however I have not managed to make them work as I described above.
reverse
function as well? Or you want to limit yourself to django?