summaryrefslogtreecommitdiff
path: root/src/normal.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-09-18 10:05:51 +0900
committerMaxime Coste <mawww@kakoune.org>2017-09-18 10:05:51 +0900
commita3644f49a3131a44122290c0adf7eaad8a67cd44 (patch)
tree6606481cf9ef5770e3289b4aa6d466ee33140629 /src/normal.cc
parentaced13dcddfe21ebc784b897c569251ab610c3e9 (diff)
parent229848dece2741abc3845dae57c962d2dbf563e1 (diff)
Merge remote-tracking branch 'Delapouite/custom-text-object'
Diffstat (limited to 'src/normal.cc')
-rw-r--r--src/normal.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/normal.cc b/src/normal.cc
index 2a4639d3..6fad0772 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -1141,7 +1141,7 @@ void select_object(Context& context, NormalParams params)
return select_and_set_last<mode>(
context, std::bind(obj_it->func, _1, _2, count, flags));
- if (cp == ':')
+ if (cp == 'c')
{
const bool info = show_auto_info_ifn(
"Enter object desc", "format: <open text>,<close text>",
@@ -1218,7 +1218,7 @@ void select_object(Context& context, NormalParams params)
{{'i'}, "indent"},
{{'u'}, "argument"},
{{'n'}, "number"},
- {{':'}, "custom object desc"}}));
+ {{'c'}, "custom object desc"}}));
}
template<Direction direction, bool half = false>