Browse Source

fix error

remotes/origin/master
Ein Verne(einverne) 10 years ago
parent
commit
c0a4ca9018
  1. 11
      README.md
  2. 2
      python_vimrc

11
README.md

@ -3,11 +3,18 @@ This is my vim dot file.
vundle相关配置在vundle_vimrc中,用vundle管理插件,插件列表`:PluginList`查看
python相关配置在python_vimrc中
在vim目录下
Windows下,在vim目录下
```
git init
git remote add origin PATH/TO/REPO
git remote add origin https://github.com/einverne/dotfile.git
git fetch
git checkout -t origin/master
```
然后再vim目录下安装Vundle
git clone https://github.com/gmarik/Vundle.vim.git vimfiles/bundle/Vundle.vim
进入vim,运行 `:PluginInstall` 安装剩余插件

2
python_vimrc

@ -25,7 +25,7 @@ au BufRead,BufNewFile *py,*pyw,*.c,*.h set tabstop=8
" C: tabs (pre-existing files) or 4 spaces (new files)
au BufRead,BufNewFile *.py,*pyw set shiftwidth=4
au BufRead,BufNewFile *.py,*.pyw set expandtab
fu Select_c_style!()
fu! Select_c_style()
if search('^\t', 'n', 150)
set shiftwidth=8
set noexpandtab

Loading…
Cancel
Save