diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-04-02 13:20:20 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-03 21:38:05 +0200 |
| commit | ab2d1ddd0adbeec8061b6560ebedf5a1f7bb5867 (patch) | |
| tree | 0531ad62420a9407bcf21849e592d8104af54484 /main.c | |
| parent | 378e3b7c01d07659b85bb77786461e91a1c6d8ab (diff) | |
| download | vis-ab2d1ddd0adbeec8061b6560ebedf5a1f7bb5867.tar.gz vis-ab2d1ddd0adbeec8061b6560ebedf5a1f7bb5867.tar.xz | |
sam: unify vi(m) and sam command line
The following vi commands have been dropped:
- saveas
- xit
- !
The following commands are only recognized in their short form:
- e (edit)
- q (quit)
- s (substitute)
- w (write)
- r (read)
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -228,7 +228,6 @@ enum { VIS_ACTION_JOIN_LINE_BELOW, VIS_ACTION_JOIN_LINES, VIS_ACTION_PROMPT_SHOW, - VIS_ACTION_PROMPT_SHOW_VISUAL, VIS_ACTION_REPEAT, VIS_ACTION_SELECTION_FLIP, VIS_ACTION_SELECTION_RESTORE, @@ -748,7 +747,7 @@ static const KeyAction vis_action[] = { [VIS_ACTION_OPERATOR_FILTER_FMT] = { "vis-operator-filter-format", "Formating operator, filter range through fmt(1)", - operator_filter, { .s = "'<,'>!fmt" } + operator_filter, { .s = "|fmt" } }, [VIS_ACTION_COUNT] = { "vis-count", @@ -825,11 +824,6 @@ static const KeyAction vis_action[] = { "Show editor command line prompt", prompt_show, { .s = ":" } }, - [VIS_ACTION_PROMPT_SHOW_VISUAL] = { - "prompt-show-visual", - "Show editor command line prompt in visual mode", - prompt_show, { .s = ":'<,'>" } - }, [VIS_ACTION_REPEAT] = { "editor-repeat", "Repeat latest editor command", |
