aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-04-30 14:13:50 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-04-30 14:13:50 -0500
commitc25f28959e6f5f6015d7610a4a4af5e7ca105cf6 (patch)
treeac56b774983b4d2c219ab532b38fa0545df5200e
parent065c460216786e610f0c61b959467d918369504b (diff)
downloadvim-textobj-c25f28959e6f5f6015d7610a4a4af5e7ca105cf6.tar.gz
vim-textobj-c25f28959e6f5f6015d7610a4a4af5e7ca105cf6.zip
use backspace rather than 'h' here to handle ending at the start of a line
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 57d764e..a7d7cd9 100644
--- a/vimrc
+++ b/vimrc
@@ -319,7 +319,7 @@ function Textobj(char, callback)
normal! l
startinsert
elseif a:operator == 'v'
- normal! h
+ exe "normal! \<BS>"
endif
endfunction