Difference between revisions of "Navigation"

From WikEmacs
Jump to: navigation, search
(Navigation)
(Navigation)
Line 1: Line 1:
  
  
= Navigation =
+
= Text Navigation =
 +
 
 +
For navigating a buffer while editing text use the following.
 +
 
 
; Sentence : ''Remember'' You need to put two spaces after the full-stop.
 
; Sentence : ''Remember'' You need to put two spaces after the full-stop.
 
; Page : In "*.el" files and other text files (for example {{Keys|C-h n}}), text is divided into "pages" delimited by `^L' character.  This character can be entered with {{Keys|C-q C-l}}
 
; Page : In "*.el" files and other text files (for example {{Keys|C-h n}}), text is divided into "pages" delimited by `^L' character.  This character can be entered with {{Keys|C-q C-l}}
Line 50: Line 53:
 
|  
 
|  
 
|}
 
|}
 +
 +
= Code Navigation =
 +
 +
For navigating in code in any [[:Category:Programming languages|Programming language]] use the following.
  
 
; sexp
 
; sexp

Revision as of 09:55, 30 March 2012


Text Navigation

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]

Code Navigation

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]