aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-04-30 12:55:15 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-04-30 12:55:15 -0500
commit35361e1f4005e31c1d34e46cfeae4a64c3e879d8 (patch)
tree4febbc1b7ae22944f7b54550473d53e9240a2112
parent589fdfa4a1cc63c08451893df393b9ac0c7c52ed (diff)
downloadvim-textobj-35361e1f4005e31c1d34e46cfeae4a64c3e879d8.tar.gz
vim-textobj-35361e1f4005e31c1d34e46cfeae4a64c3e879d8.zip
sigh... why can i not remember that not all operators are destructive... this will break text objects with boundaries at the ends or beginnings of lines again
-rw-r--r--vimrc6
1 files changed, 0 insertions, 6 deletions
diff --git a/vimrc b/vimrc
index 18446c3..be8d4f0 100644
--- a/vimrc
+++ b/vimrc
@@ -307,13 +307,7 @@ function Textobj(char, callback)
endfor
let objlength -= 1
endif
- if endcol == 0
- normal! J
- endif
call cursor(startline, startcol)
- if startcol > strlen(getline(startline))
- normal! J
- endif
exe 'normal! '.a:operator.objlength.' '
if a:operator == 'c'