aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-04-02 13:20:20 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-04-03 21:38:05 +0200
commitab2d1ddd0adbeec8061b6560ebedf5a1f7bb5867 (patch)
tree0531ad62420a9407bcf21849e592d8104af54484 /main.c
parent378e3b7c01d07659b85bb77786461e91a1c6d8ab (diff)
downloadvis-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.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/main.c b/main.c
index b6cf1cb..9208974 100644
--- a/main.c
+++ b/main.c
@@ -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",