[SI-9249] REPL command mode Created: 25/Mar/15 Updated: 19/Apr/15
|Project:||Scala Programming Language|
|Component/s:||Repl / Interpreter|
|Affects Version/s:||Scala 2.11.6|
|Reporter:||A. P. Marki||Assignee:||Unassigned|
As reported at https://github.com/scala/scala/issues/4392, not everyone appreciates REPL's colon-command syntax. Since JLine already supports vi mode line edits, one accommodation would be to recognize a colon while in escaped edit mode, erase the line, draw a colon and accept command text.
This improvement would delight that fraction of users who <3 vi and also use a lot of ::. Probably under a flag.
This would make even more sense with line healing enabled.
|Comment by Li Haoyi [ 19/Apr/15 ]|
This is "fixed" in the Ammonite REPL, which doesn't use special colon-commands at all
I have never used vim mode, but since we're not hogging syntax you could give it a shot