Code Monkey home page Code Monkey logo

vim-python-ide's Introduction

Contents

This project aims to use Vim as a powerful and complete Python IDE. In order to do that, we curated a list of awesome plugins available in the community and provided an automatic installation procedure for this set.

Installation

Requirements for Ubuntu distros (Tested on Windows Subsystem for Linux)

sudo apt install libncurses5-dev libgnome2-dev libgnomeui-dev \
libgtk2.0-dev libatk1.0-dev libbonoboui2-dev \
libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev \
python3-dev git ctags

Requirements for Fedora distros

sudo dnf install -y ctags git python python-devel \
python3 python3-devel tcl-devel

Installation process

git clone https://github.com/rapphil/vim-python-ide.git && \
cd vim-python-ide && ./install.sh

Features

Please check the available features and the plugins that enable them.

Syntax Highlighting

Syntax highlighting for several languages, besides Python.

Powered by:

Color Themes

Several popular color schemes:

  • Monokai
  • Gruvbox
  • Much more

Powered by:

Project Navigation

Easily navigate your project using:

  • File tree explore (Nerdtree)

* Fuzzy finder based on the file names

* File structure (classes, functions, methods).

Powered by:

Powerfull Full Text search

  • Full text search based on both exact match and fuzzy finder capabilities
  • Extremely fast.

Powered by:

Real time linting

Lint source files in real time an check for errors and warnings.

Powered by:

Code navigation

  • Go to function definitions
  • Check parameters and docstrings easily.

Powered by:

Code refactoring

Extract methods, variables and rename functions easily.

Powered by:

Code completion

Use hints and dialog boxes to speed your development using code completion.

Powered by:

Snippets

Snippets save time while you type and creates standardization for your code.

Powered by:

Git Integration

Perform git operations and highlight changes in the repo.

Powered by:

Key bindings

Action Mode key binding
Toogle Nerdtree Normal crtl + n
toogle Tagbar Normal f8
Look for file Normal crtl + p
Goto definition Normal crtl + ]
Show docstring Normal K
Extract method Normal/Visual crlt + c r m
Auto complete Insert crtl + space
Expand snippet Insert tab

Commands

Command Description Command
Look for string :Rg <string>
git status :Gstatus
git diff :Gdiff

vim-python-ide's People

Contributors

rapphil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vim-python-ide's Issues

Removal

please also make a script that uninstalls and changes everything to default

Is not python2 deprecated?

pip2 install --user rope jedi ropevim flake8

In the instructions here, there is no mention of pip2. I think in Fedora 35 there were some changes regarding 'python-unversioned-command'. In that way, 'pip2' is not installed when installed 'python'. I would just call 'pip', unless there is some reason to use 'pip2' explicitly. BTW, it worked on Fedora 35 with just 'pip'.

Installation on raspbian

I have tryed your great script in a raspbian RPI4 enviroment and I want to make some corrections to make work, that could be great to include...

  1. Need to previously install:

sudo apt install libncurses-dev python-dev python3-dev git ctags

  1. remove prevously vim (if installed)

sudo apt-get remove vim vim-runtime

  1. Install vim from source with 'sudo'. Modify
    'make -j $CPUS && sudo make install'
    in 'install.sh' file

  2. Install rope in python3:
    pip3 install --user rope ropemode ropevim

  3. Include in .vimrc:
    " close vim if the only window left open is a NERDTree
    autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif

Maybe could be great to change/update those pip2 versions to python3 as python2 is now EOL.

Thanks a lot for this.

Probably this could be best python3 IDE specially for ligthCPU envoroments like raspberry pi, so thanks for support this project.

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.