Difference between revisions of "Navigation"

From WikEmacs
Jump to: navigation, search
m (category)
Line 76: Line 76:
 
| {{Keys | C-M-u}}
 
| {{Keys | C-M-u}}
 
|}
 
|}
 +
 +
 +
[[Category:Beginner]]

Revision as of 14:14, 30 March 2012

Navigating Text buffers

For navigating a buffer while editing text use the following.

Sentence 
Remember You need to put two spaces after the full-stop.
Page 
In "*.el" files and other text files (for example [C-h n]), text is divided into "pages" delimited by `^L' character. This character can be entered with [C-q C-l]
Key bindings for navigating text
Entity % Movement Begin (Backward) End (Forward) Mark Kill Or Cut
Character [ C-b] [ C-f] [ C-@] [ C-d]
Word [ M-b] [ M-f] [ M-@] [ M-d]
Line [ C-a] [ C-e] [ C-k]
Sentence [ M-a] [ M-e] [ M-k]
Paragraph [ M-{ ] [ M-} ] [ M-h ] [ M-h C-w]
Page [ C-x [ ] [ C-x ] ] [ C-x C-p]

Navigating programming code

For navigating in code in any Programming language use the following.

sexp
These are balanced expressions. For example, in C a block enclosed in a pair of {,} and in Lisp a pair of (, ).
Key bindings for navigating code
Entity % Movement Begin (Backward) End (Forward) Mark Kill Or Cut Up
sexp [ C-M-b] [ C-M-f] [ C-M-@] [ C-M-k] [ C-M-u]