From ed3aacdbc9e514608139375056b8d35572fdb263 Mon Sep 17 00:00:00 2001 From: yan Date: Thu, 15 Dec 2011 22:41:56 -0800 Subject: [PATCH] Added: vim-space for spacebar motion repeats, ruby block and indent block manipulation plugins --- .gitmodules | 12 ++++++++++++ README.md | 17 ++++++++++++++++- vim/bundle/austintaylor-vim-indentobject | 1 + vim/bundle/kana-vim-textobj-user | 1 + vim/bundle/nelstrom-vim-textobj-rubyblock | 1 + vim/bundle/spiiph-vim-space | 1 + 6 files changed, 32 insertions(+), 1 deletion(-) create mode 160000 vim/bundle/austintaylor-vim-indentobject create mode 160000 vim/bundle/kana-vim-textobj-user create mode 160000 vim/bundle/nelstrom-vim-textobj-rubyblock create mode 160000 vim/bundle/spiiph-vim-space diff --git a/.gitmodules b/.gitmodules index 4a7dd753..e6e533d9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -133,3 +133,15 @@ [submodule "vim/bundle/mattn-zencoding-vim"] path = vim/bundle/mattn-zencoding-vim url = https://github.com/mattn/zencoding-vim +[submodule "vim/bundle/nelstrom-vim-textobj-rubyblock"] + path = vim/bundle/nelstrom-vim-textobj-rubyblock + url = https://github.com/nelstrom/vim-textobj-rubyblock +[submodule "vim/bundle/kana-vim-textobj-user"] + path = vim/bundle/kana-vim-textobj-user + url = https://github.com/kana/vim-textobj-user +[submodule "vim/bundle/spiiph-vim-space"] + path = vim/bundle/spiiph-vim-space + url = https://github.com/spiiph/vim-space +[submodule "vim/bundle/austintaylor-vim-indentobject"] + path = vim/bundle/austintaylor-vim-indentobject + url = https://github.com/austintaylor/vim-indentobject diff --git a/README.md b/README.md index 34bd7ebf..eaaad20b 100644 --- a/README.md +++ b/README.md @@ -225,6 +225,8 @@ Included vim plugins * ruby.vim - lots of general enhancements for ruby dev * necomplcache - intelligent and fast complete as you type, and added Command-Space to select a completion (same as Ctrl-N) * snipMate - offers textmate-like snippet expansion + scrooloose-snippets . try hitting TAB after typing a snippet + * textobj-rubyblock - provides visual block selection specific to ruby. try var/vir to select a ruby block + * vim-indentobject - manipulation of blocks by their indentation (great for yaml) use vai/vii to select around an indent block Utils @@ -237,6 +239,7 @@ Included vim plugins * html-escape - hit ctrl-h to escape html * ruby-debug-ide - not quite working for me, but maybe it will for you. supposedly a graphical debugger you can step through * Gundo - visualize your undos - pretty amazing plugin. Hit ,u with my keymappings to trigger it, very user friendly + * space-vim - hit space to repeat many navigation commands like finds, etc. very intuitive General enhancements that don't add new commands @@ -315,9 +318,21 @@ Other recommended OSX tools Credits --- + I can't take credit for all of this. The vim files are a combination of work by tpope, scrooloose, and many hours of scouring blogs, vimscripts, -and other places for the cream of the crop of vim and bash awesomeness. +and other places for the cream of the crop of vim awesomeness. + + * https://github.com/astrails/dotvim + * https://github.com/carlhuda/janus + * https://github.com/tpope + * https://github.com/scrooloose + * https://github.com/kana + * https://github.com/robbyrussell + * https://github.com/nelstrom + +And everything that's in the modules included in vim/bundle of course. +Please explore these people's work. COMING SOON --- diff --git a/vim/bundle/austintaylor-vim-indentobject b/vim/bundle/austintaylor-vim-indentobject new file mode 160000 index 00000000..740e067a --- /dev/null +++ b/vim/bundle/austintaylor-vim-indentobject @@ -0,0 +1 @@ +Subproject commit 740e067a34cfd805af2d3a3fbe29d65def03b40f diff --git a/vim/bundle/kana-vim-textobj-user b/vim/bundle/kana-vim-textobj-user new file mode 160000 index 00000000..3f6f6b0b --- /dev/null +++ b/vim/bundle/kana-vim-textobj-user @@ -0,0 +1 @@ +Subproject commit 3f6f6b0ba63d681434a728ce7cfdd3ed0bcf9ede diff --git a/vim/bundle/nelstrom-vim-textobj-rubyblock b/vim/bundle/nelstrom-vim-textobj-rubyblock new file mode 160000 index 00000000..c6b186dd --- /dev/null +++ b/vim/bundle/nelstrom-vim-textobj-rubyblock @@ -0,0 +1 @@ +Subproject commit c6b186dd5ad74503439c967e0d2ad863fcba93bc diff --git a/vim/bundle/spiiph-vim-space b/vim/bundle/spiiph-vim-space new file mode 160000 index 00000000..9440e388 --- /dev/null +++ b/vim/bundle/spiiph-vim-space @@ -0,0 +1 @@ +Subproject commit 9440e388cc75754ab7c58441f3ef965a70a411db