diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2018-04-28 11:34:26 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2018-05-16 13:24:01 +0200 |
| commit | e34b829bbb284972dd391ae00b22274e47d55f16 (patch) | |
| tree | 9d6092a1f6a036d0fc87bfc1dc6e7050e3c5b6fb /main.c | |
| parent | 55ea139a5bee4d3dd503ccc255865fc1c6c3fabe (diff) | |
| download | vis-e34b829bbb284972dd391ae00b22274e47d55f16.tar.gz vis-e34b829bbb284972dd391ae00b22274e47d55f16.tar.xz | |
vis: remove v and V in operator pending mode
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -97,8 +97,6 @@ static const char *count(Vis*, const char *keys, const Arg *arg); /* move to the count-th line or if not given either to the first (arg->i < 0) * or last (arg->i > 0) line of file */ static const char *gotoline(Vis*, const char *keys, const Arg *arg); -/* set motion type either LINEWISE or CHARWISE via arg->i */ -static const char *motiontype(Vis*, const char *keys, const Arg *arg); /* make the current action use the operator indicated by arg->i */ static const char *operator(Vis*, const char *keys, const Arg *arg); /* blocks to read a key and performs movement indicated by arg->i which @@ -321,8 +319,6 @@ enum { VIS_ACTION_TEXT_OBJECT_INDENTATION, VIS_ACTION_TEXT_OBJECT_SEARCH_FORWARD, VIS_ACTION_TEXT_OBJECT_SEARCH_BACKWARD, - VIS_ACTION_MOTION_CHARWISE, - VIS_ACTION_MOTION_LINEWISE, VIS_ACTION_UNICODE_INFO, VIS_ACTION_UTF8_INFO, VIS_ACTION_NOP, @@ -1199,16 +1195,6 @@ static const KeyAction vis_action[] = { VIS_HELP("The next search match in backward direction") textobj, { .i = VIS_TEXTOBJECT_SEARCH_BACKWARD } }, - [VIS_ACTION_MOTION_CHARWISE] = { - "vis-motion-charwise", - VIS_HELP("Force motion to be charwise") - motiontype, { .i = VIS_MOTIONTYPE_CHARWISE } - }, - [VIS_ACTION_MOTION_LINEWISE] = { - "vis-motion-linewise", - VIS_HELP("Force motion to be linewise") - motiontype, { .i = VIS_MOTIONTYPE_LINEWISE } - }, [VIS_ACTION_UNICODE_INFO] = { "vis-unicode-info", VIS_HELP("Show Unicode codepoint(s) of character under cursor") @@ -1909,11 +1895,6 @@ static const char *gotoline(Vis *vis, const char *keys, const Arg *arg) { return keys; } -static const char *motiontype(Vis *vis, const char *keys, const Arg *arg) { - vis_motion_type(vis, arg->i); - return keys; -} - static const char *operator(Vis *vis, const char *keys, const Arg *arg) { vis_operator(vis, arg->i); return keys; |
