From eb06a44e972bf13f4c0aeaffd5c04922579d4cbf Mon Sep 17 00:00:00 2001 From: yan Date: Sat, 21 Jan 2012 12:45:53 -0800 Subject: [PATCH] Added textobj-function (use vaf to select a function), upgraded textobj-user --- .gitmodules | 3 +++ README.md | 1 + vim/bundle/kana-vim-textobj-function | 1 + vim/bundle/kana-vim-textobj-user | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) create mode 160000 vim/bundle/kana-vim-textobj-function diff --git a/.gitmodules b/.gitmodules index 8b1c7df..b099bcd 100644 --- a/.gitmodules +++ b/.gitmodules @@ -196,3 +196,6 @@ [submodule "vim/bundle/skwp-Command-T"] path = vim/bundle/skwp-Command-T url = https://github.com/skwp/Command-T +[submodule "vim/bundle/kana-vim-textobj-function"] + path = vim/bundle/kana-vim-textobj-function + url = https://github.com/kana/vim-textobj-function diff --git a/README.md b/README.md index 828d036..7e39b63 100644 --- a/README.md +++ b/README.md @@ -313,6 +313,7 @@ Included vim plugins * textobj-datetime - gives you 'da' (date), 'df' (date full) and so on text objects. useable with all standard verbs * vim-textobj-entire - gives you 'e' for entire document. so vae (visual around entire document), and etc * vim-textobj-rubysymbol - gives you ':' textobj. so va: to select a ruby symbol. da: to delete a symbol..etc + * vim-textobj-function - gives you 'f' textobj. so vaf to select a function * next-textobject - from Steve Losh, ability to use 'n' such as vinb (visual inside (n)ext set of parens) **Utils** diff --git a/vim/bundle/kana-vim-textobj-function b/vim/bundle/kana-vim-textobj-function new file mode 160000 index 0000000..f8775dc --- /dev/null +++ b/vim/bundle/kana-vim-textobj-function @@ -0,0 +1 @@ +Subproject commit f8775dc801391bc04eb4d6e50959d769d289ce0e diff --git a/vim/bundle/kana-vim-textobj-user b/vim/bundle/kana-vim-textobj-user index 3f6f6b0..1b73833 160000 --- a/vim/bundle/kana-vim-textobj-user +++ b/vim/bundle/kana-vim-textobj-user @@ -1 +1 @@ -Subproject commit 3f6f6b0ba63d681434a728ce7cfdd3ed0bcf9ede +Subproject commit 1b738334952a7944d3591253dcc3576b1ccb2c9d