This plugin is used to enable vi key bindings for Ammonite repl,
Scala: 2.13 Ammonite: 2.X
Edit ~/.ammonite/predef.sc
import $ivy.`com.github.chengpohi:ammonite-vi_2.13:2.0`
@
repl.frontEnd() match {
case ammoniteFrontEnd: ammonite.repl.AmmoniteFrontEnd => {
com.github.chengpohi.VIMode(repl)
println("VI Mode Enabled")
}
case _ =>
}
ESC + ENTER: switch vi mode