updated + final
This commit is contained in:
parent
a7345844a0
commit
c4fd1d1d3f
2 changed files with 12 additions and 13 deletions
|
@ -38,8 +38,7 @@ vim-surround https://github.com/tpope/vim-surround
|
||||||
|
|
||||||
GITHUB_ZIP = '%s/archive/master.zip'
|
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):
|
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)
|
zip_f.extractall(temp_dir)
|
||||||
|
|
||||||
plugin_temp_path = path.join(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
|
# Remove the current plugin and replace it with the extracted
|
||||||
plugin_dest_path = path.join(source_dir, plugin_name)
|
plugin_dest_path = path.join(source_dir, plugin_name)
|
||||||
|
|
|
@ -136,8 +136,8 @@ set foldcolumn=0
|
||||||
syntax enable
|
syntax enable
|
||||||
|
|
||||||
try
|
try
|
||||||
colorscheme desert
|
"colorscheme desert
|
||||||
"colorscheme peaksea
|
colorscheme peaksea
|
||||||
"colorscheme solarized
|
"colorscheme solarized
|
||||||
"colorscheme mayansmoke
|
"colorscheme mayansmoke
|
||||||
catch
|
catch
|
||||||
|
@ -272,17 +272,17 @@ set viminfo^=%
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
|
||||||
|
|
||||||
set statusline= " clear the statusline for when vimrc is reloaded
|
"set statusline= " clear the statusline for when vimrc is reloaded
|
||||||
set statusline+=%-3.3n\ " buffer number
|
"set statusline+=%-3.3n\ " buffer number
|
||||||
set statusline+=%F\ " file name
|
"set statusline+=%F\ " file name
|
||||||
set statusline+=%h%m%r%w " flags
|
"set statusline+=%h%m%r%w " flags
|
||||||
""set statusline+=[%{strlen(&ft)?&ft:'none'}, " filetype
|
""set statusline+=[%{strlen(&ft)?&ft:'none'}, " filetype
|
||||||
""set statusline+=%{strlen(&fenc)?&fenc:&enc}, " encoding
|
""set statusline+=%{strlen(&fenc)?&fenc:&enc}, " encoding
|
||||||
""set statusline+=%{&fileformat}] " file format
|
""set statusline+=%{&fileformat}] " file format
|
||||||
set statusline+=%= " right align
|
"set statusline+=%= " right align
|
||||||
set statusline+=%{synIDattr(synID(line('.'),col('.'),1),'name')}\ " highlight
|
"set statusline+=%{synIDattr(synID(line('.'),col('.'),1),'name')}\ " highlight
|
||||||
set statusline+=%b,0x%-8B\ " current char
|
"set statusline+=%b,0x%-8B\ " current char
|
||||||
set statusline+=%-14.(%l,%c%V%)\ %<%P " offset
|
"set statusline+=%-14.(%l,%c%V%)\ %<%P " offset
|
||||||
|
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" => Editing mappings
|
" => Editing mappings
|
||||||
|
|
Loading…
Reference in a new issue