Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
barretlee committed Apr 14, 2016
1 parent fe46e16 commit 4fc91a2
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# autoconfig-mac-vimrc

I'm a front-end engineer, and also a vimer, maybe this config file is suitable for you. This file did lots of things, such as:
I'm a front-end engineer, and also a vimer, maybe the config file is suitable for you. This file did lots of things, such as:

- install brew if not exist.
- install fonts
Expand All @@ -16,13 +16,13 @@ The `<leader>` key is `,`,use `,ne` open folders.

## Install

First way:
The first approach:

- copy the bash code very below to `install.sh`
- copy the bash code at the bottom to `install.sh`
- run command `chmod +x install.sh`
- run command `./install.sh`

Second way:
The second approach:

```bash
git clone https://github.com/barretlee/autoconfig-mac-vimrc.git;
Expand All @@ -41,19 +41,16 @@ __bash code__

# .vimrc
cd ~/v-tmp;
[[ -d ~/v-tmp/rc ]] || git clone
https://github.com/barretlee/autoconfig-mac-vimrc.git;
[[ -d ~/v-tmp/rc ]] || git clone https://github.com/barretlee/autoconfig-mac-vimrc.git;

# backup origin vimrc file
[[ -f ~/.vimrc-bak ]] || cp ~/.vimrc ~/.vimrc-bak;
mv ~/v-tmp/autoconfig-mac-vimrc/.vimrc ~/.vimrc;
[[ -d ~/.vim/bundle/Vundle.vim ]] || git clone
https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim;
[[ -d ~/.vim/bundle/Vundle.vim ]] || git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim;

# colors schemes
cd ~/v-tmp;
[[ -d ~/v-tmp/vim-colorschemes ]] || git clone
https://github.com/flazz/vim-colorschemes.git;
[[ -d ~/v-tmp/vim-colorschemes ]] || git clone https://github.com/flazz/vim-colorschemes.git;
[[ -d ~/.vim/colors ]] || mv ~/v-tmp/colors ~/.vim/;

# fonts for airline
Expand Down

0 comments on commit 4fc91a2

Please sign in to comment.