vis

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

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

commit ad7cfc7455a631d35a0dd8ac41551633ee4103cf
parent fca98d016de514131d8cfd404cfe476b74d5f5fb
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Sun, 17 Apr 2016 17:33:15 +0200

vis: remove mapping from ' ' to <Space>

This reverts part of 4cb19e899d31c19dc23f17cfa587d1cb7cd88b40
just use a literal space within your key mappings.

Close #280

Diffstat:
Mvis.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vis.c b/vis.c @@ -361,7 +361,7 @@ Vis *vis_new(Ui *ui, VisEvent *event) { goto err; if (!(vis->search_file = file_new_internal(vis, NULL))) goto err; - if (!(vis->keymap = map_new()) || !map_put(vis->keymap, " ", "<Space>")) + if (!(vis->keymap = map_new())) goto err; vis->mode_prev = vis->mode = &vis_modes[VIS_MODE_NORMAL]; vis->event = event;