Next: Indentation, Previous: Electricity, Up: Top
The traditional commands for Emacs1 and Emacs's C mode2 are supported in PHP mode. The following commands are notable to mention for working with PHP or are extensions expressly provided 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
).