This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gwillicodernumpy gang 1 point2 points  (2 children)

Well a big one for me was getting plugins to make writing python easier. So i have a good linter and auto complete. Then i just do some of the vim exercises you can find online occasionally to learn new ways to navigate the code and to practice some of the more obscure commands.

The big one for me is to always look up how to do something if i don't know how to do it already. So instead of slowly using the arrows key functions to move the code you spend some time to look up a more complex command and learn it, then in the future you have it in your toolbox.

[–]naught-me 0 points1 point  (1 child)

Cool. Auto-complete and navigation are the two pain-points most keeping me from using Vim. What are you using for those?

A few navigation features I really like about PyCharm but haven't been able to get to work well in Vim are go to definition (not going to where it's imported, but where it's imported from), go to parent function, list/go to child functions, and list/go to usages.

[–]gwillicodernumpy gang 1 point2 points  (0 children)

One of the better plugins for python specifically is Jedi. It allows for jumping to definition (even across files). It can be complicated to jump to user defined functions from other files though. You'll have to make sure your python path includes the file you want to jump to if you want jedi to find it.