If you are unfamiliar with vi:
$ doas pkg_add vim $ vimtutor