kyx0r / nextvi

A small vi/ex terminal text editor (neatvi rewrite)
152 stars 15 forks source link

How do we switch batch and forth from 'visual' mode to 'ex' mode? #122

Closed brunobord closed 1 month ago

brunobord commented 1 month ago

Hello,

I've recently discovered your vi clone because of a deep exploration of ed(-like) and ex(-like) editors and I'm having fun diving into this funny side of text editors.

Although, I know that when opening a file in 'ex' mode, you can switch to visual mode (the good'ol' 'vi') using the ':vi(sual)' command.

But you can also go back from visual to ex mode using the gQ keystroke.

Unfortunately, I couldn't find how to do so in nextvi. Could you please either tell me what's the command to launch, or, if it doesn't exist, add it to nextvi?

kyx0r commented 1 month ago

Hi! Thanks for stopping by. You can switch using keybind ^o. It's also mentioned in 71.

brunobord commented 1 month ago

oookay so I missed it. Thanks for the quick response!