Navigation

From WikEmacs
Revision as of 08:56, 30 March 2012 by 115.242.216.179 (Talk)

Jump to: navigation, search

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]