vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 5288a50ce35e19b75c37b150ca9009c9cfed27d0
parent b123de6d45cdfde42a95e7dacd1525bc9494064b
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 26 Apr 2018 15:29:49 +0200

vis: remove gp

This only removes the user visible mapping, the underlying implementation
is kept for now. This might change in the future.

Diffstat:
Mconfig.def.h | 1-
Mmain.c | 6------
2 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -180,7 +180,6 @@ static const KeyBinding bindings_operators[] = { { "c", ACTION(OPERATOR_CHANGE) }, { "d", ACTION(OPERATOR_DELETE) }, { "g~", ALIAS(":|tr '[:lower:][:upper:]' '[:upper:][:lower:]'<Enter>") }, - { "gp", ACTION(PUT_AFTER_END) }, { "gP", ACTION(PUT_BEFORE_END) }, { "gu", ALIAS(":|tr '[:upper:]' '[:lower:]'<Enter>")}, { "gU", ALIAS(":|tr '[:lower:]' '[:upper:]'<Enter>")}, diff --git a/main.c b/main.c @@ -260,7 +260,6 @@ enum { VIS_ACTION_WINDOW_SLIDE_DOWN, VIS_ACTION_PUT_AFTER, VIS_ACTION_PUT_BEFORE, - VIS_ACTION_PUT_AFTER_END, VIS_ACTION_PUT_BEFORE_END, VIS_ACTION_SELECTIONS_MATCH_WORD, VIS_ACTION_SELECTIONS_NEW_LINE_ABOVE, @@ -896,11 +895,6 @@ static const KeyAction vis_action[] = { VIS_HELP("Put text before the cursor") operator, { .i = VIS_OP_PUT_BEFORE } }, - [VIS_ACTION_PUT_AFTER_END] = { - "vis-put-after-end", - VIS_HELP("Put text after the cursor, place cursor after new text") - operator, { .i = VIS_OP_PUT_AFTER_END } - }, [VIS_ACTION_PUT_BEFORE_END] = { "vis-put-before-end", VIS_HELP("Put text before the cursor, place cursor after new text")