Difference between revisions of "Navigation"

From WikEmacs
Jump to navigation Jump to search
Line 52: Line 52:
  
 
; sexp
 
; sexp
: These are balanced expressions. For example, in [[C]] a block enclosed in a pair of ''''{'''',''''}'''' and in [[:Category:Lisp|Lisp]] a pair of ''''('''', '''')'''.
+
: These are balanced expressions. For example, in [[C]] a block enclosed in a pair of '''{''','''}''' and in [[:Category:Lisp|Lisp]] a pair of '''(''', ''')'''.
  
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 13:53, 30 March 2012


Navigation

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]
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]