From 8ef822cfc8114cfcdf68318b13d6b42b3a7e1d09 Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Tue, 29 Apr 2008 19:08:12 -0500 Subject: don't try to handle regex textobjects being called when the cursor is on a /, since there's no good way to tell which direction to look for the closing / --- vimrc | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/vimrc b/vimrc index afeb53c..b11c3d8 100644 --- a/vimrc +++ b/vimrc @@ -353,11 +353,17 @@ function Textobj_regex(inner, count) if linenum == pos[1] " have to account for the possibility of a split escape " sequence - if objend == 1 && getline(pos[1])[pos[2] - 2] == '\' - let objend = match(line, '\\\@