How to install, configure, and use Vim for development

(WG) #1

Ok … I’m taking the plunge and I have little to no idea where to start with Vim.

So the questions:

  1. How should I install Vim (I’m running a personal ubuntu 16.04 instance)?
  2. How do I configure my Vim to function and look like Jeremy’s (e.g., with code folding, syntax coloring, etc…)? I’ve read a lot about .vimrc files and plugins, but not sure exactly what is needed and what the configuration files should look like.
  3. And then, just looking for general advice on becoming proficient with Vim … especially for the purpose of coding.

Any and all advice is much appreciated.

(WG) #2

While trying to keep my .vimrc file lean and mean, I’d like to be able to get intellisense / auto-completion in the most straightforward way possible as I use the standard fastai anaconda environment.

Does anyone have any recommendations?

Here is my current .vimrc.

set foldmethod=indent
syntax on
colorscheme desert

" set tab = 4 spaces (default)
set tabstop=4
set shiftwidth=4
set expandtab

set tags=tags