summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDelapouite <delapouite@gmail.com>2017-06-14 19:41:30 +0200
committerDelapouite <delapouite@gmail.com>2017-06-14 19:41:30 +0200
commit229848dece2741abc3845dae57c962d2dbf563e1 (patch)
tree06a939cb0ca00f71c5b0cc4d64ad2c4e1769e7d8 /src
parente73cd78288272f7ce4e45f790f7284142c7c7e09 (diff)
Change custom text object desc trigger from ':' to 'c' - Fix #1362
Diffstat (limited to 'src')
-rw-r--r--src/normal.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/normal.cc b/src/normal.cc
index 53e7cbd5..85aed2db 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -1093,7 +1093,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>",
@@ -1170,7 +1170,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>