From f476a42da094d228d430fe318064728a2b71a6a2 Mon Sep 17 00:00:00 2001 From: gryf Date: Sat, 15 Nov 2014 18:51:22 +0100 Subject: [PATCH] Fixed statusline for py files --- README.rst | 2 -- ftplugin/python/common.vim | 1 + .vimrc => vimrc | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) rename .vimrc => vimrc (99%) diff --git a/README.rst b/README.rst index 3b1169f..f37d927 100644 --- a/README.rst +++ b/README.rst @@ -11,7 +11,5 @@ to make it (as described in the NeoBundle README file) is like this: $ curl https://raw.githubusercontent.com/Shougo/neobundle.vim/master/bin/install.sh | sh -And than, just make the symlink to the ``.vimrc`` file to the home directory. - .. _NeoBundle: https://github.com/Shougo/neobundle.vim diff --git a/ftplugin/python/common.vim b/ftplugin/python/common.vim index 85ca900..8ee6c34 100644 --- a/ftplugin/python/common.vim +++ b/ftplugin/python/common.vim @@ -7,6 +7,7 @@ setlocal noautoindent setlocal smartindent setlocal cinwords=if,elif,else,for,while,try,except,finally,def,class,with setlocal smarttab +setlocal statusline=%<%F\ %{TagInStatusLine()}\ %h%m%r%=%(%l,%c%V%)\ %3p%% set wildignore+=*.pyc diff --git a/.vimrc b/vimrc similarity index 99% rename from .vimrc rename to vimrc index f8a0e63..3d74b54 100644 --- a/.vimrc +++ b/vimrc @@ -279,6 +279,9 @@ nnoremap oc :Occur nnoremap om :Moccur nnoremap 8 *:Moccur " }}} +" Pythonhelper {{{ +let g:pythonhelper_updatetime = 1000 +" }}} "}}} "KEYS: User defined keyboard shortcuts {{{