Next: , Previous: Basic Picture, Up: Picture


35.2 Controlling Motion after Insert

Since “self-inserting” characters in Picture mode overwrite and move point, there is no essential restriction on how point should be moved. Normally point moves right, but you can specify any of the eight orthogonal or diagonal directions for motion after a “self-inserting” character. This is useful for drawing lines in the buffer.

C-c <
C-c <LEFT>
Move left after insertion (picture-movement-left).
C-c >
C-c <RIGHT>
Move right after insertion (picture-movement-right).
C-c ^
C-c <UP>
Move up after insertion (picture-movement-up).
C-c .
C-c <DOWN>
Move down after insertion (picture-movement-down).
C-c `
C-c <HOME>
Move up and left (“northwest”) after insertion (picture-movement-nw).
C-c '
C-c <PAGEUP>
Move up and right (“northeast”) after insertion (picture-movement-ne).
C-c /
C-c <END>
Move down and left (“southwest”) after insertion
(picture-movement-sw).
C-c \
C-c <PAGEDOWN>
Move down and right (“southeast”) after insertion
(picture-movement-se).

Two motion commands move based on the current Picture insertion direction. The command C-c C-f (picture-motion) moves in the same direction as motion after “insertion” currently does, while C-c C-b (picture-motion-reverse) moves in the opposite direction.