All Projects → jarolrod → vim-python-ide

jarolrod / vim-python-ide

Licence: BSD-3-Clause License
Python development config

Programming Languages

Vim Script
2826 projects
shell
77523 projects

Projects that are alternatives of or similar to vim-python-ide

dotfiles
💻 My dotfiles: .vimrc, .gitconfig, .bash_profile, etc
Stars: ✭ 27 (-96.37%)
Mutual labels:  vimrc
dotfiles
🏡 ~/.*
Stars: ✭ 13 (-98.25%)
Mutual labels:  vimrc
dotvim
My Vim setup
Stars: ✭ 36 (-95.16%)
Mutual labels:  vimrc
dotfiles
Personal set of vim, zsh, git configs and scripts.
Stars: ✭ 23 (-96.91%)
Mutual labels:  vimrc
PenTerm
Terminal config for pentesters.
Stars: ✭ 20 (-97.31%)
Mutual labels:  vimrc
nvimrc
My Neovim configuration. Supports macOS and Linux.
Stars: ✭ 31 (-95.83%)
Mutual labels:  vimrc
rc.d
🛠 My rc files and other configs. Includes: Bash, Zsh, Vim, Tmux, Git, Terminal (macOS), VS Code
Stars: ✭ 32 (-95.7%)
Mutual labels:  vimrc
dotfiles
There is no place like ~/
Stars: ✭ 19 (-97.45%)
Mutual labels:  vimrc
vim-sequence-diagram
A Vim plugin for previewing sequence diagram in a browser
Stars: ✭ 53 (-92.88%)
Mutual labels:  vimrc
vimrcfu
🔥 vimrcfu - Share your best vimrc snippets
Stars: ✭ 49 (-93.41%)
Mutual labels:  vimrc
dotfiles
My dotfiles
Stars: ✭ 22 (-97.04%)
Mutual labels:  vimrc
VimConfig
Configuration files for Vi-IMproved.
Stars: ✭ 23 (-96.91%)
Mutual labels:  vimrc
my-dotfiles
📁 Meus arquivos de configuração para as ferramentas do dia a dia
Stars: ✭ 17 (-97.72%)
Mutual labels:  vimrc
vim config
🔰 好好编程的vim配置
Stars: ✭ 17 (-97.72%)
Mutual labels:  vimrc
dotfiles
🏡 My dotfiles
Stars: ✭ 64 (-91.4%)
Mutual labels:  vimrc
dotfiles
My personal quirks quantified in text form
Stars: ✭ 68 (-90.86%)
Mutual labels:  vimrc
vimrc
Sane, Lightweight, and, Aesthetic VIM
Stars: ✭ 21 (-97.18%)
Mutual labels:  vimrc
foolz-dots
Collection of my linux desktop configuration files.
Stars: ✭ 16 (-97.85%)
Mutual labels:  vimrc
vim
📝 minimalistic vimrc based on KISS principle @vim
Stars: ✭ 46 (-93.82%)
Mutual labels:  vimrc
dotfiles
Personal dotfiles
Stars: ✭ 18 (-97.58%)
Mutual labels:  vimrc

Imgur

screenshot

Table of contents

Getting Started

A script shell will get a copy of the vimrc up and running on your local machine for testing purposes. The script will install the vimrc and compile the YouCompleteMe plugin:

Bash

sh -c "$(curl -fsSL https://raw.githubusercontent.com/jarolrod/vim-python-ide/master/setup.sh)"

Fish

curl -fsSL https://raw.githubusercontent.com/jarolrod/vim-python-ide/master/setup.sh | sh       

YouCompleteMe

YouCompleteMe must be compiled for it to work. The install script handles the compiling, but if something goes wrong then do the following:

  1. Make sure the following is included in your vimrc where all the vundle plugins are placed:
Plugin 'Valloric/YouCompleteMe'

MacOS

  1. Assuming you already have MacVim installed, install Cmake through brew
brew install cmake
  1. Navigate to YouCompleteMe bundle folder and run the compile script
cd ~/.vim/bundle/YouCompleteMe
./install.py --clang-completer
  1. Reference the YouCompleteMe README.md for any other configuration

Linux

Make sure you have Cmake and Python 3 Headers, they can be downloaded through your distributions package manager. Then run:

cd ~/.vim/bundle/YouCompleteMe
python3 ./install.py --clang-completer

DevIcons (Optional)

This plugin is used to show file icons in NerdTree and requires additional steps to install:

  • Must install a patched font that contains required glyphs:
    • Arch Linux
    • Everyone Else
    • Set vim encoding to UTF-8
      set encoding=utf8
      
    • Set vim font to NerdFont
      set guifont=<FONT_NAME> <FONT_SIZE>
      
    • Add glyphs to Airline
      let g:airline_powerline_fonts = 1
      
  • If you dont want this feature simply remove this plugin from your vimrc and execute :PluginUpdate in vim, for proper removal delete the devicons plugin folder

Alternatively:

  • Cherry pick the parts you like from my vimrc and add it to yours

Plugins

Code and Project Navigation

Snippets

Extra

Key-Bindings

Python

let g:pymode_run_bind='<F5>'
imap <F5> <Esc>:w<CR>:!clear;python %<CR>

Switching Between Buffers

nmap <F9> :bprev<CR>
nmap <F10> :bnext<CR>

Toggle Relative Numbering

nnoremap <F4> :set relativenumber!<CR>

Comfortable Motion Scrolling

let g:comfortable_motion_scroll_down_key = "j"
let g:comfortable_motion_scroll_up_key = "k"  
nnoremap <silent> <C-d> :call comfortable_motion#flick(g:comfortable_motion_imp    ulse_multiplier * winheight(0) * 2)<CR>
nnoremap <silent> <C-u> :call comfortable_motion#flick(g:comfortable_motion_imp    ulse_multiplier * winheight(0) * -2)<CR>
nnoremap <silent> <C-f> :call comfortable_motion#flick(g:comfortable_motion_imp    ulse_multiplier * winheight(0) * 4)<CR>
nnoremap <silent> <C-b> :call comfortable_motion#flick(g:comfortable_motion_imp    ulse_multiplier * winheight(0) * -4)<CR>

NerdTree Toggle

  • NerdTree wil automatically open when vim is launched in terminal without a file
nmap " :NERDTreeToggle<CR>

Disable Arrow Keys

no <down> <Nop>
no <left> <Nop>
no <right> <Nop>
no <up> <Nop>

ino <down> <Nop>
ino <left> <Nop>
ino <right> <Nop>
ino <up> <Nop>
                                                                               
vno <down> <Nop>
vno <left> <Nop>
vno <right> <Nop>
vno <up> <Nop>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].