Kaynağa Gözat

Add vim plugins gitgutter, editorconfig, todo

Tom McKenzie 5 yıl önce
ebeveyn
işleme
d5e2529628

+ 9 - 0
.gitmodules

@@ -0,0 +1,9 @@
+[submodule ".vim/pack/grrowl/start/vim-gitgutter"]
+	path = .vim/pack/grrowl/start/vim-gitgutter
+	url = https://github.com/airblade/vim-gitgutter.git
+[submodule ".vim/pack/grrowl/start/vim-todo"]
+	path = .vim/pack/grrowl/start/vim-todo
+	url = https://github.com/peterlundgren/vim-todo.git
+[submodule ".vim/pack/grrowl/start/editorconfig-vim"]
+	path = .vim/pack/grrowl/start/editorconfig-vim
+	url = https://github.com/editorconfig/editorconfig-vim.git

+ 1 - 0
.vim/pack/grrowl/start/editorconfig-vim

@@ -0,0 +1 @@
+Subproject commit 8aff78a03357bf573abcec407a543762f281b7d3

+ 1 - 0
.vim/pack/grrowl/start/vim-gitgutter

@@ -0,0 +1 @@
+Subproject commit b356cc9a7da08ebeb919cd04b2831dad71a34d38

+ 1 - 0
.vim/pack/grrowl/start/vim-todo

@@ -0,0 +1 @@
+Subproject commit e4b6d60c648b57afc816c39fb3141b1cb03bf278

+ 1 - 1
.vimrc

@@ -11,7 +11,7 @@ set incsearch	" Searches for strings incrementally
 
 set autoindent	" Auto-indent new lines
 set expandtab	" Use spaces instead of tabs
-set shiftwidth=4	" Number of auto-indent spaces
+set shiftwidth=2	" Number of auto-indent spaces
 set smartindent	" Enable smart-indent
 set smarttab	" Enable smart-tabs
 set softtabstop=2	" Number of spaces per Tab

+ 1 - 1
setup.sh

@@ -3,7 +3,7 @@
 # symlink dotfiles
 dir="$HOME/dotfiles"
 olddir="$HOME/dotfiles/bak"   # backup directory
-files=".zshrc .zshrc.d .rc.d .bashrc .vimrc .bash_logout .gitconfig .gitignore_global .gemrc"    # list of files/folders to symlink in homedir
+files=".zshrc .zshrc.d .rc.d .bashrc .vimrc .bash_logout .gitconfig .gitignore_global .gemrc .vim"    # list of files/folders to symlink in homedir
 
 ## create dotfiles_old in homedir
 mkdir -p $olddir