[PATCH] Bugfix: no longer selects next word when invoking 'viw' at end of a word
Tim Harper
timcharper at gmail.com
Fri Jul 23 09:21:27 CEST 2010
---
vimpulse-text-object-system.el | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/vimpulse-text-object-system.el b/vimpulse-text-object-system.el
index bdfea28..33acc59 100644
--- a/vimpulse-text-object-system.el
+++ b/vimpulse-text-object-system.el
@@ -410,6 +410,7 @@ specifies whether to include the quote marks in the range."
(viper-backward-word (cons arg ?r))))
(lambda (arg)
(vimpulse-limit (line-beginning-position) (line-end-position)
+ (backward-char)
(viper-end-of-word (cons arg ?r))))))
(vimpulse-define-text-object vimpulse-a-Word (arg)
--
1.7.1.1
More information about the implementations-list
mailing list