diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-30 12:55:15 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-30 12:55:15 -0500 |
commit | 35361e1f4005e31c1d34e46cfeae4a64c3e879d8 (patch) | |
tree | 4febbc1b7ae22944f7b54550473d53e9240a2112 | |
parent | 589fdfa4a1cc63c08451893df393b9ac0c7c52ed (diff) | |
download | vim-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-- | vimrc | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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' |