Difference between revisions of "Navigation"

From WikEmacs
Jump to navigation Jump to search
Line 1: Line 1:
 
+
= Navigating Text buffers =
 
 
= Text Navigation =
 
  
 
For navigating a buffer while editing text use the following.
 
For navigating a buffer while editing text use the following.
Line 54: Line 52:
 
|}
 
|}
  
= Code Navigation =
+
= Navigating programming code =
  
 
For navigating in code in any [[:Category:Programming languages|Programming language]] use the following.
 
For navigating in code in any [[:Category:Programming languages|Programming language]] use the following.

Revision as of 13:56, 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]