diff --git a/update_plugins.py b/update_plugins.py index 96903784..10aa6ea8 100644 --- a/update_plugins.py +++ b/update_plugins.py @@ -38,8 +38,7 @@ vim-surround https://github.com/tpope/vim-surround GITHUB_ZIP = '%s/archive/master.zip' -SOURCE_DIR = path.join( path.dirname(__file__), 'sources_non_forked' ) - +SOURCE_DIR = path.join(path.dirname(__file__), 'sources_non_forked') def download_extract_replace(plugin_name, zip_path, temp_dir, source_dir): @@ -53,7 +52,7 @@ def download_extract_replace(plugin_name, zip_path, temp_dir, source_dir): zip_f.extractall(temp_dir) plugin_temp_path = path.join(temp_dir, - path.join(temp_dir, '%s-master' % plugin_name)) + path.join(temp_dir, '%s-master' % plugin_name)) # Remove the current plugin and replace it with the extracted plugin_dest_path = path.join(source_dir, plugin_name) diff --git a/vimrcs/basic.vim b/vimrcs/basic.vim index 7228dcef..8aa18361 100644 --- a/vimrcs/basic.vim +++ b/vimrcs/basic.vim @@ -136,8 +136,8 @@ set foldcolumn=0 syntax enable try - colorscheme desert - "colorscheme peaksea + "colorscheme desert + colorscheme peaksea "colorscheme solarized "colorscheme mayansmoke catch @@ -272,17 +272,17 @@ set viminfo^=% set laststatus=2 -set statusline= " clear the statusline for when vimrc is reloaded -set statusline+=%-3.3n\ " buffer number -set statusline+=%F\ " file name -set statusline+=%h%m%r%w " flags +"set statusline= " clear the statusline for when vimrc is reloaded +"set statusline+=%-3.3n\ " buffer number +"set statusline+=%F\ " file name +"set statusline+=%h%m%r%w " flags ""set statusline+=[%{strlen(&ft)?&ft:'none'}, " filetype ""set statusline+=%{strlen(&fenc)?&fenc:&enc}, " encoding ""set statusline+=%{&fileformat}] " file format -set statusline+=%= " right align -set statusline+=%{synIDattr(synID(line('.'),col('.'),1),'name')}\ " highlight -set statusline+=%b,0x%-8B\ " current char -set statusline+=%-14.(%l,%c%V%)\ %<%P " offset +"set statusline+=%= " right align +"set statusline+=%{synIDattr(synID(line('.'),col('.'),1),'name')}\ " highlight +"set statusline+=%b,0x%-8B\ " current char +"set statusline+=%-14.(%l,%c%V%)\ %<%P " offset """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Editing mappings