News for hackers. Stuff that matters.
Re:Vim After 11 Years (2013) by ayrx on Saturday November 01, 2014 @10:51PM (#8545434)
This is coming from someone that used IntelliJ before moving to Sublime Text 3 before moving to vim for Python development.

I am by no means a master of vim's varied features but the best productivity gain for me is vim running in the terminal. I use a lot of command line tools (grep still beats most things for search and the git command line tool is still better than any editor plugins), it's just much more convenient for me when it's all in the terminal and I can switch between them seamlessly with keyboard commands especially when using something like tmux.

Re:Vim After 11 Years (2013) by netheril96 on Sunday November 02, 2014 @12:47AM (#8545656)
Much as I like vim, I think IntelliJ is still better than whatever tools one can cobble together for pure Python development.
Re:Vim After 11 Years (2013) by ayrx on Sunday November 02, 2014 @01:06AM (#8545690)
I recognize editor preferences is a deeply personal taste but it's been very different for me. :) I used to swear by IntelliJ but after taking a day to configure Sublime Text (and then vim), I very much prefer them.
Re:Vim After 11 Years (2013) by netheril96 on Sunday November 02, 2014 @09:25PM (#8549046)
Pycharm has automatic formatting, much better autocompletion (it deduces type based on context), continuous PEP8 check, class hierarchy, refactoring support and a terrific debugger.

Don't get me wrong. I am not trying to bash your choice. I am merely curious how to achieve the similar in vim, because I have some urges to switch as well.

Re:Vim After 11 Years (2013) by ayrx on Sunday November 02, 2014 @09:58PM (#8549148)
Mostly through plugins really.

Jedi is really awesome for autocomplete: https://github.com/davidhalter/jedi-vim

This plugin really helps in formatting code: https://github.com/hynek/vim-python-pep8-indent

There's another plugin that helps with PEP8 linting: https://github.com/nvie/vim-flake8

I just use a combination of print statements and pdb for debugging, I don't trust automatic re-factoring for Python though, so I tend to do them manually with regex.

What really helps vim beat PyCharm/IntelliJ for me is the fact that I work with a lot of C code as well as Python. IntelliJ's C support sadly isn't quite there yet.