GithubHelp home page GithubHelp logo

bossjones / python-vimrc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ets-labs/python-vimrc

0.0 1.0 0.0 307 KB

VIM Configuration for Python / Cython / C Development

License: BSD 3-Clause "New" or "Revised" License

Shell 18.68% Vim Script 48.96% Python 32.36%

python-vimrc's Introduction

PYTHON .VIMRC

VIM Configuration for Python / Cython / C Development.

Keep calm and use VIM!

Requirements

  • VIM 7.4
  • git
  • bash 3.2+

How does it look?

https://github.com/ets-labs/python-vimrc/wiki/img/screenshot.png

Installation

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

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ets-labs/python-vimrc/master/setup.sh)"

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

Autocompletion

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/install.py --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>

python-vimrc's People

Contributors

boonya avatar c0rdis avatar rmk135 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.