Skip to content
VIM Configuration for Python / Cython / C Development
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
bundle Initial script for easier installation Jan 8, 2016
colors Ignored colors dir May 12, 2016
CONTRIBUTORS.rst Update install link after renaming to python-vimrc May 12, 2016
README.rst Add mappings for Esc (MacBook touch bar) Aug 3, 2017
vimrc Fix hotkey for showing documentation Jan 15, 2018



VIM Configuration for Python / Cython / C Development.

Keep calm and use VIM!


  • VIM 7.4
  • git
  • bash 3.2+

How does it look?


You can install it by using CLI just have next command executed:

sh -c "$(curl -fsSL"

During execution of init script do not worry about error messages. When it occurs just press enter and wait till all plugins are installed.


Current bundle use one of the most comprehensive plugins for autocompletion - Valloric/YouCompleteMe. YouCompleteMe autocompletion plugin requires additional installation that depends on environment and functionality you want to have. Detailed instructions could be found on plugin page: Valloric/YouCompleteMe.

Note: Installation for Mac OS with support of clang compiler looks like this:

~/.vim/bundle/YouCompleteMe/ --clang-completer

Key bindings

This configuration tends to use standard VIM and installed plugins key bindings, but there are some custom key bindings as well:

# Common key bindings:

inoremap jj     # Esc alternative
inoremap jk     # Esc alternative

nmap <F9>       # Jump to the previous buffer
nmap <F10>      # Jump to the next buffer

nmap <leader>q  # Delete buffer
nmap "          # Toggle NERDTree buffer

# Python mode key bindings:

let g:pymode_doc_key='K'
let g:pymode_breakpoint_key='<leader>b'
let g:pymode_run_bind='<F5>'

nmap <leader>g :YcmCompleter GoTo<CR>
nmap <leader>d :YcmCompleter GoToDefinition<CR>
You can’t perform that action at this time.