All Questions
Tagged with original-vi cursor-motions
2 questions
1
vote
1
answer
83
views
What is the correct cursor position when a } (forward paragraph motion) reaches the last line of the buffer?
Suppose I have two lines in a buffer:
First line
Second line
I position my cursor on the first column of the first line. In normal mode, I press } (i.e. closing curly brace, forward paragraph motion)....
2
votes
1
answer
1k
views
Position cursor at end of line in insert mode
(This question pertains to nvi instead of vim.)
To facilitate editing, I created the following mappings
map! ( (?)@^[F?xi
map! [ [?]@^[F?xi
map! { {?}@^[F?xi
so that entering ( will insert (|)@, ...