Next: Moving by Line, Up: Elemental Movement   [Index]


6.5.1 Navigation Keys—Arrow Keys Etc

Arrow keys move by character; can combine the arrow keys with the ‘<control>’ key to move by word.

  • ‘<left>’, ‘C-<left>’
  • ‘<right>’, ‘C-<right>’
  • ‘<up>’, ‘C-<up>’
  • ‘<down>’, ‘C-<down>’
  • ‘<insert>’: activate ‘overwrite-mode’
  • ‘<delete>’: delete character after point
  • ‘<prior>’, ‘<next>’: Page-up, Page-down move by full page
  • ‘<home>’, ‘<end>’: Move to beginning, end of line
Variable: next-screen-context-lines ¶

Variable controlling number of lines of continuity when scrolling by screenfuls; default is 2.

* Moving by Character

CommandKey BindingPurpose
forward-char‘C-f’Forward character
backward-char‘C-b’Backward character
next-line‘C-n’Next (visual) line
previous-line‘C-p’Previous (visual) line
pointreturn the value of point
point-minminimum possible value of point
point-maxmaximum possible value of point
buffer-endreturn the far-end position of buffer
buffer-sizereturn the number of characters in buffer
goto-charSet point to ‘POS’
forward-charMove point ‘COUNT’ chars foward
backward-charMove point ‘COUNT’ chars backward
skip-chars-forward
skip-chars-backward