Hi Robert

Ignore the helpful people telling you to stop using vim and use some
god awful UI, the plugin you are looking for is called jedi.vim

https://github.com/davidhalter/jedi-vim

Debian has a package, vim-python-jedi, or you can install using
Pathogen or Vundle.

Cheers

Tom

On Fri, Jul 7, 2017 at 4:27 PM, Robert F. <robert.flaug...@gmail.com> wrote:
> Is there a Vim plugin that does code completion for Django?  I'd like to be
> able to type something like "foobar = models." and hit Tab and see a list of
> classes like CharField or Foreign key.  Alternately, I'd be OK with entering
> an abbreviation that would bring up the proper code snippet.  The Django
> documentation suggests YouCompleteMe but it appears to only handle Python
> code, not Django specifically.  Also, I haven't been able to get it to work
> on my Mac laptop.
>
> I almost exclusively do editing of Django files on a remote Debian server
> from my Mac laptop.  I know PyCharm provides the ability to edit remote
> files and it has Vim emulation but it's pretty expensive and I'm not sure
> how closely the emulator emulates Vim.  SublimeText appears to have a
> "Djaneiro" package that does what I need but it looks like editing remote
> files is rather difficult with Sublime.  Doesn't Vim have better support for
> Django code completion that's comparable to these two applications?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/166226ca-2fc6-4454-9baf-0d871c552a8f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFHbX1LySk_S4BBrTOho8mWD6AcJM8JO231%2B25rmnZOBjS0YWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to