summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@advisorsla.com>2019-07-12 14:44:30 +0200
committerHugues Hiegel <hugues.hiegel@advisorsla.com>2019-07-12 14:44:30 +0200
commit812f8ce4d6d10e38105fc069a6c2abb96085ef18 (patch)
tree3931daf8c0d1af89cc83155c9900f2d909223b77
parentc665ccea29426fe64bc48c84fb9520fe104ceda6 (diff)
[Python] Python-mode fantastic IDE
-rw-r--r--.gitmodules3
m---------bundle/python-mode0
-rw-r--r--colors/blue.vim2
-rw-r--r--vimrc10
4 files changed, 14 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules
index cfa1ded..5198353 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -37,3 +37,6 @@
[submodule "bundle/vim-plug"]
path = bundle/vim-plug
url = https://github.com/junegunn/vim-plug.git
+[submodule "bundle/python-mode"]
+ path = bundle/python-mode
+ url = https://github.com/python-mode/python-mode
diff --git a/bundle/python-mode b/bundle/python-mode
new file mode 160000
+Subproject f61b74a062c74f2af6e593e2722e500c716f6f9
diff --git a/colors/blue.vim b/colors/blue.vim
index fb5415a..e88c1f9 100644
--- a/colors/blue.vim
+++ b/colors/blue.vim
@@ -720,6 +720,8 @@ if has("gui_running") || &t_Co >= 255
hi! EasyMotionTarget ctermfg=46 cterm=bold ctermbg=none
hi! EasyMotionShadeDefault ctermfg=240
+ hi! SignColumn ctermbg=none
+
elseif &t_Co >= 88
hi! Comment ctermfg=81 cterm=bold
hi! Constant ctermfg=65 cterm=none
diff --git a/vimrc b/vimrc
index 79300c5..5cf1caa 100644
--- a/vimrc
+++ b/vimrc
@@ -1,5 +1,6 @@
-execute pathogen#infect()
+call pathogen#infect()
+call pathogen#helptags()
call plug#begin('~/.vim/plugged')
Plug 'junegunn/vim-easy-align'
@@ -537,3 +538,10 @@ augroup Todo
autocmd FileType vimwiki set syn=todo
augroup END
+augroup PyMode
+ let g:pymode_lint_on_fly = 1
+ let g:pymode_lint_unmodified = 1
+
+ autocmd FileType * set signcolumn=auto
+ autocmd FileType python set signcolumn=yes
+augroup END