Next: Indentation, Previous: Electricity, Up: Top
The traditional point movement commands for Emacs1 and Emacs's C mode2 are supported in PHP mode. The following are noteworthy commands for working on PHP code or are extensions expressly provided by PHP mode.
forward-sexp
).
If point is in a string literal, move to the end of the
string. If point is at the beginning of a parenthetical
expression, move to the end of it. If at the beginning of
statement block that is surrounded by braces, move to the
end of the block. If point is at an identifier, skip to the
end of it.
backward-sexp
).
c-beginning-of-defun
).
c-end-of-defun
).
beginning-of-defun
).
end-of-defun
).
back-to-indentation
).
forward-word
and backward-word
commands
(c-subword-mode
).