4 ms·
One really really annoying thing about this: pressing return in "normal" or "insert" modes executes the command. That behaviour just doesn't feel right.
by sophacles 17y ago
One really really annoying thing about this: pressing return in "normal" or "insert" modes executes the command. That behaviour just doesn't feel right.
- sundarurfriend 17y agoWhy? What would you expect it to do?
- sophacles 17y agoWell, Enter in normal mode in vi puts the cursor on the next line, at the first non-whitespace character. I would like enter in "normal mode bash" to do the same. I would also like to scroll up (j) and see the previous command as i left it (i.e. if modified, show them).
- graywh 17y agoThat's what return does in Vim's command-line window.
- weaksauce 17y agoin command mode you can press v and open up what you have entered into vi edit :wq and it's executing.