diff options
author | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2015-06-09 22:15:25 -0400 |
---|---|---|
committer | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2015-06-09 22:15:25 -0400 |
commit | 61ceecebc7e4e00e34540df21745d3f9b672fe13 (patch) | |
tree | 9dd9ce185078e63a76b2455049bd437883a28f48 | |
parent | 42ad3d7dd98f3b56513f65dd8ee0a957659c6109 (diff) |
Fix vim indent and pull submodules correctly.
-rwxr-xr-x | bin/setup.sh | 2 | ||||
-rwxr-xr-x | vimrc | 2 | ||||
-rwxr-xr-x | zshrc | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/bin/setup.sh b/bin/setup.sh index 7bca3e7..afc42e2 100755 --- a/bin/setup.sh +++ b/bin/setup.sh @@ -18,7 +18,7 @@ if ! which git >/dev/null; then fi cd ~/dotfiles -git submodule update --recursive +git submodule update --init --recursive git submodule foreach pull cd @@ -17,6 +17,8 @@ set noswapfile set timeoutlen=1000 set ignorecase set expandtab +set shiftwidth=2 +set softtabstop=2 set smarttab set smartcase set incsearch @@ -30,7 +30,9 @@ export WORDCHARS='' setopt DVORAK alias ls="ls --color" -alias vi="gvim --remote" +if which gvim >/dev/null; + alias vi="gvim --remote" +fi alias ff="fileutil --gfs_user=gfp-reporting" alias diff=colordiff |