aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-11-27 07:23:36 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-11-27 07:23:36 +0100
commit7ce4e0cc1423bb55f798031014462fd192d23fc3 (patch)
treef0eb89dbf2b92c92eba0458f5344fc0a3f6eb68b /config.def.h
parente063464c7cdeb41796282d0efe13cc907928f3f8 (diff)
downloadvis-7ce4e0cc1423bb55f798031014462fd192d23fc3.tar.gz
vis-7ce4e0cc1423bb55f798031014462fd192d23fc3.tar.xz
vis: implement filter operator !
It currently works by switching to visual mode and then opening the command prompt with a default range which refers to the currently active selection.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 5ccce5b..5296ce4 100644
--- a/config.def.h
+++ b/config.def.h
@@ -187,6 +187,7 @@ static KeyBinding vis_operators[] = {
{ "~", ACTION(OPERATOR_CASE_SWAP) },
{ "g~", ACTION(OPERATOR_CASE_SWAP) },
{ "gu", ACTION(OPERATOR_CASE_LOWER) },
+ { "!", ACTION(OPERATOR_FILTER) },
{ "\"", ACTION(REGISTER) },
{ /* empty last element, array terminator */ },
};