diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-09-18 10:05:51 +0900 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-09-18 10:05:51 +0900 |
| commit | a3644f49a3131a44122290c0adf7eaad8a67cd44 (patch) | |
| tree | 6606481cf9ef5770e3289b4aa6d466ee33140629 /src/normal.cc | |
| parent | aced13dcddfe21ebc784b897c569251ab610c3e9 (diff) | |
| parent | 229848dece2741abc3845dae57c962d2dbf563e1 (diff) | |
Merge remote-tracking branch 'Delapouite/custom-text-object'
Diffstat (limited to 'src/normal.cc')
| -rw-r--r-- | src/normal.cc | 4 |
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> |
