summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-04-25 01:36:30 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-04-25 01:36:30 -0500
commit2f6f8cfc098bd588b7bffeb1130491366743b10b (patch)
tree7aa647aaaa098a9265943c463ce85a851c98701d /vimrc
parent1fbf9fb236562960a6c2c86f15cad663c002ca71 (diff)
downloadconf-2f6f8cfc098bd588b7bffeb1130491366743b10b.tar.gz
conf-2f6f8cfc098bd588b7bffeb1130491366743b10b.zip
normal -> normal!
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vimrc b/vimrc
index f6e94fa..5abcea8 100644
--- a/vimrc
+++ b/vimrc
@@ -651,10 +651,10 @@ function Textobj_regex(inner, operator)
let objcmd = "normal! ".a:operator.objlength." "
exe objcmd
if a:operator == 'c'
- normal l
+ normal! l
startinsert
elseif a:operator == 'v'
- normal h
+ normal! h
endif
endfunction
onoremap <silent>a/ <Esc>:call Textobj_regex(0, v:operator)<CR>