From a11458f6b49ed116e2252a5850ea6d0d726b0dc5 Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Tue, 29 Apr 2008 17:04:05 -0500 Subject: simplify the regex textobj logic a bit --- vimrc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/vimrc b/vimrc index a18f33f..afeb53c 100644 --- a/vimrc +++ b/vimrc @@ -332,14 +332,13 @@ function Textobj_regex(inner, count) let lines = getline(1, pos[1] - 1) + [line] let linenum = pos[1] for line in reverse(lines) - let objstart = match(line, '.*\zs\\\@