diff options
| author | Viktor Palmkvist <viktor@palmkvist.com> | 2015-06-25 15:44:43 +0200 |
|---|---|---|
| committer | Viktor Palmkvist <viktor@palmkvist.com> | 2015-07-01 17:42:10 +0200 |
| commit | 13d212f4458b0bfe12f190c47e77265be72eed29 (patch) | |
| tree | 92a0bcf8ba0fbd3d7a55e050f7e11d360d3e7aa6 /src/normal.cc | |
| parent | 6689bf0b46bb4adb4e8a3cd2b6776de989eb54e7 (diff) | |
Added argument text object
Diffstat (limited to 'src/normal.cc')
| -rw-r--r-- | src/normal.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/normal.cc b/src/normal.cc index a9357806..94e1f294 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -925,6 +925,11 @@ void select_object(Context& context, NormalParams params) return select<mode>(context, std::bind(sel.func, _1, _2, flags)); } + if (c == 'u') + { + return select<mode>(context, std::bind(select_argument, _1, _2, level, flags)); + } + static constexpr struct { MatchingPair pair; @@ -958,7 +963,8 @@ void select_object(Context& context, NormalParams params) "s: sentence \n" "p: paragraph \n" "␣: whitespaces \n" - "i: indent \n"); + "i: indent \n" + "u: argument \n"); } template<Key::NamedKey key> |
