Emacs Shortcuts
Misc.EmacsShortcuts History
Hide minor edits - Show changes to output
Added line 13:
<tr><td>C-M-<SPC></td><td>Select next word without moving cursor</td></tr>
Changed lines 13-17 from:
<tr><td>C-s C-w</td><td>Search for the word after the current mark</td></tr>
to:
<tr><th colspan="2"> <b>I-Search</b></th></tr>
<tr><td>M-p</td><td>Load previous search string</td></tr>
<tr><td>C-w</td><td>Search for the word after the current mark</td></tr>
<tr><td>M-c</td><td>Toggle case-sensitive search</td></tr>
Changed line 13 from:
<tr><td>C-s C-w</td>Search for the word after the current mark</td></tr>
to:
<tr><td>C-s C-w</td><td>Search for the word after the current mark</td></tr>
Added line 13:
<tr><td>C-s C-w</td>Search for the word after the current mark</td></tr>
Added line 5:
<tr><td> C-S-<Backspace> </td><td> Delete the current line</td></tr>
Added lines 12-15:
<tr><th colspan="2"> <b>CC mode</b></th></tr>
<tr><td>C-c C-c</td><td>Comment region</td></tr>
<tr><td>C-u C-c C-c</td><td>Uncomment region</td></tr>
Added lines 2-25:
<tr><th colspan="2"> <b>Basics</b></th></tr>
<tr><td> M-y </td><td> Replace previous paste with the previous clipboard content</td></tr>
<tr><td> C-u N </td><td> Repeat the following command N times</td></tr>
<tr><td> C-x C-m f </td><td> Change file encoding</td></tr>
<tr><td>C-<SPC> C-<SPC> and then C-u C-<SPC></td><td>Remember a position in the buffer and cycle back to saved positions</td></tr>
<tr><td>C-x h</td><td>Mark entire buffer</td></tr>
<tr><td>C-x z</td><td>Redo the last operator (z again to repeat)</td></tr>
<tr><td>C-x r <SPC> N then C-x r j N</td><td>Save position to register N and jump to position N</td></tr>
<tr><th colspan="2"> <b>Keyboard macros</b></th></tr>
<tr><td> C-x ( </td><td> Start a new macro</td></tr>
<tr><td> C-x ) </td><td> Finish the new macro</td></tr>
<tr><td> C-x e </td><td> Execute the most recently defined macro (e to repeat again)</td></tr>
<tr><td> C-x C-k </td><td> Edit the most recently defined macro</td></tr>
<tr><td> C-u C-x ( </td><td> Execute and add keys to the most recently defined macro</td></tr>
<tr><td> name-last-kbd-macro </td><td> Give a name to the most recently defined macro</td></tr>
<tr><td> apply-macro-to-region-lines </td><td> Run the last keyboard macro on each complete line in the region.</td></tr>
<tr><th colspan="2"> <b>Rectangles</b></th></tr>
<tr><td> C-x r k </td><td> Kill a rectangle</td></tr>
<tr><td> C-x r y </td><td> Yank a rectangle</td></tr>
<tr><th colspan="2"> <b>Abbrevs</b></th></tr>
Changed lines 27-28 from:
<th colspan="2"> <b>Basics</b>
</th></tr>
to:
<td> C-x a g </td><td> Add a global abbrev
</td></tr>
</td></tr>
Changed line 30 from:
<td> M-y </td><td> Replace previous paste with the previous clipboard content
to:
<td> C-x a l </td><td> Add a local (mode) abbrev
Changed line 33 from:
<td> C-u N </td><td> Repeat the following command N times
to:
<td> C-u - C-x a [gl] </td><td> Remove a global/local abbrev
Changed line 36 from:
<td> C-x C-m f </td><td> Change file encoding
to:
<td> C-q </td><td> Don't expand this word.
Changed line 39 from:
<th colspan="2"> <b>Abbrevs</b>
to:
<th colspan="2"> <b>Outline mode</b>
Changed line 42 from:
<td> C-x a g </td><td> Add a global abbrev
to:
<td colspan="2"> (Remove C-o if not in TeX-mode)
Changed line 45 from:
<td> C-x a l </td><td> Add a local (mode) abbrev
to:
<td> C-c C-o C-t </td><td> Hide all
Changed line 48 from:
<td> C-u - C-x a [gl] </td><td> Remove a global/local abbrev
to:
<td> C-c C-o C-a </td><td> Show all
Changed line 51 from:
<td> C-q </td><td> Don't expand this word.
to:
<td> C-c C-o C-e </td><td> Show this one
Changed lines 54-55 from:
<th colspan="2"> <b>Outline mode</b>
</th></tr>
to:
<td> C-c C-o C-c </td><td> Hide this one
</td></tr>
</td></tr>
Changed lines 57-105 from:
</td></tr>
<tr>
<td> C-c C-o C-t </td><td> Hide all
</td></tr>
<tr>
<td> C-c C-o C-a </td><td> Show all
</td></tr>
<tr>
<td> C-c C-o C-e </td><td> Show this one
</td></tr>
<tr>
<td> C-c C-o C-c </td><td> Hide this one
</td></tr>
<tr>
<th colspan="2"> <b>Rectangles</b>
</th></tr>
<tr>
<td> C-x r k </td><td> Kill a rectangle
</td></tr>
<tr>
<td> C-x r y </td><td> Yank a rectangle
</td></tr>
<tr>
<td> C-x r t </td><td> Replaces the contents of a region-rectangle with a string on each line
</td></tr>
<tr>
<th colspan="2"> <b>Keyboard macros</b>
</th></tr>
<tr>
<td> C-x ( </td><td> Start a new macro
</td></tr>
<tr>
<td> C-x ) </td><td> Finish the new macro
</td></tr>
<tr>
<td> C-x e </td><td> Execute the most recently defined macro
</td></tr>
<tr>
<td> C-x C-k </td><td> Edit the most recently defined macro
</td></tr>
<tr>
<td> C-u C-x ( </td><td> Execute and add keys to the most recently defined macro
</td></tr>
<tr>
<td> name-last-kbd-macro </td><td> Give a name to the most recently defined macro
</td></tr>
<tr>
<td> apply-macro-to-region-lines </td><td> Run the last keyboard macro on each complete line in the region.
to:
<td> C-x r t </td><td> Replaces the contents of a region-rectangle with a string on each line
Changed line 108 from:
<td colspan="2"> Creating the BROWSE file: <pre>ebrowse **/*.{cpp,h,hpp}</pre>
to:
<td colspan="2"> Creating the BROWSE file: [@ebrowse **/*.{cpp,h,hpp}@]
Changed line 111 from:
<td colspan="2"> Creating the TAGS file: <pre>etags **/*.{cpp,h,hpp}</pre>
to:
<td colspan="2"> Creating the TAGS file: [@etags **/*.{cpp,h,hpp}@]
Changed line 1 from:
<table style="margin: 1em auto 1em auto">
to:
<table class="wikitable" style="margin: 1em auto 1em auto">
Changed line 1 from:
[@
to:
[=
Changed line 126 from:
to:
=]
Changed lines 1-84 from:
(:cell:) '''Basics'''
(:cellnr:) M-y
(:cell:) Replace previous paste with the previous clipboard content
(:cellnr:) C-u N
(:cell:) Repeat the following command N times
(:cellnr:) C-x C-m f
(:cell:) Change file encoding
(:cellnr:) '''Abbrevs'''
(:cellnr:) C-x a g
(:cell:) Add a global abbrev
(:cellnr:) C-x a
(:cell:) Add a local (mode) abbrev
(:tableend:)
|-
| C-u - C-x a [gl] || Remove a global/local abbrev
|-
| C-q || Don't expand this word.
|-
! colspan="2" | '''Outline mode'''
|-
| colspan="2" | (Remove C-o if not in TeX-mode)
|-
| C-c C-o C-t || Hide all
|-
| C-c C-o C-a || Show all
|-
| C-c C-o C-e || Show this one
|-
| C-c C-o C-c || Hide this one
|-
! colspan="2" | '''Rectangles'''
|-
| C-x r k || Kill a rectangle
|-
| C-x r y || Yank a rectangle
|-
| C-x r t || Replaces the contents of a region-rectangle with a string on each line
|-
! colspan="2" | '''Keyboard macros'''
|-
| C-x ( || Start a new macro
|-
| C-x ) || Finish the new macro
|-
| C-x e || Execute the most recently defined macro
|-
| C-x C-k || Edit the most recently defined macro
|-
| C-u C-x ( || Execute and add keys to the most recently defined macro
|-
| name-last-kbd-macro || Give a name to the most recently defined macro
|-
| apply-macro-to-region-lines || Run the last keyboard macro on each complete line in the region.
|-
! colspan="2" | '''Auctex'''
|-
| C-c e || Insert a new item
|-
| C-c C-c || Make an action (compile, view)
|-
| C-c ` || Goto next error
|-
| C-c ) || Insert a reference (reftex)
|-
! colspan="2" | '''Gnus'''
|-
| S o p || Forward a news to a newsgroup
|-
! colspan="2" | '''Etags / Ebrowse'''
|-
| colspan="2" | Creating the BROWSE file: <pre>ebrowse **/*.{cpp,h,hpp}</pre>
|-
| colspan="2" | Creating the TAGS file: <pre>etags **/*.{cpp,h,hpp}</pre>
|-
| C-c b s || Look for a tag in all files
|-
| C-c b u || Look for the calls to the selected member
|-
| c b , || Continue the last operation
|-
| C-c b % || Query replace a tag in all files
|}
to:
[@
<table style="margin: 1em auto 1em auto">
<tr>
<th colspan="2"> <b>Basics</b>
</th></tr>
<tr>
<td> M-y </td><td> Replace previous paste with the previous clipboard content
</td></tr>
<tr>
<td> C-u N </td><td> Repeat the following command N times
</td></tr>
<tr>
<td> C-x C-m f </td><td> Change file encoding
</td></tr>
<tr>
<th colspan="2"> <b>Abbrevs</b>
</th></tr>
<tr>
<td> C-x a g </td><td> Add a global abbrev
</td></tr>
<tr>
<td> C-x a l </td><td> Add a local (mode) abbrev
</td></tr>
<tr>
<td> C-u - C-x a [gl] </td><td> Remove a global/local abbrev
</td></tr>
<tr>
<td> C-q </td><td> Don't expand this word.
</td></tr>
<tr>
<th colspan="2"> <b>Outline mode</b>
</th></tr>
<tr>
<td colspan="2"> (Remove C-o if not in TeX-mode)
</td></tr>
<tr>
<td> C-c C-o C-t </td><td> Hide all
</td></tr>
<tr>
<td> C-c C-o C-a </td><td> Show all
</td></tr>
<tr>
<td> C-c C-o C-e </td><td> Show this one
</td></tr>
<tr>
<td> C-c C-o C-c </td><td> Hide this one
</td></tr>
<tr>
<th colspan="2"> <b>Rectangles</b>
</th></tr>
<tr>
<td> C-x r k </td><td> Kill a rectangle
</td></tr>
<tr>
<td> C-x r y </td><td> Yank a rectangle
</td></tr>
<tr>
<td> C-x r t </td><td> Replaces the contents of a region-rectangle with a string on each line
</td></tr>
<tr>
<th colspan="2"> <b>Keyboard macros</b>
</th></tr>
<tr>
<td> C-x ( </td><td> Start a new macro
</td></tr>
<tr>
<td> C-x ) </td><td> Finish the new macro
</td></tr>
<tr>
<td> C-x e </td><td> Execute the most recently defined macro
</td></tr>
<tr>
<td> C-x C-k </td><td> Edit the most recently defined macro
</td></tr>
<tr>
<td> C-u C-x ( </td><td> Execute and add keys to the most recently defined macro
</td></tr>
<tr>
<td> name-last-kbd-macro </td><td> Give a name to the most recently defined macro
</td></tr>
<tr>
<td> apply-macro-to-region-lines </td><td> Run the last keyboard macro on each complete line in the region.
</td></tr>
<tr>
<th colspan="2"> <b>Auctex</b>
</th></tr>
<tr>
<td> C-c e </td><td> Insert a new item
</td></tr>
<tr>
<td> C-c C-c </td><td> Make an action (compile, view)
</td></tr>
<tr>
<td> C-c ` </td><td> Goto next error
</td></tr>
<tr>
<td> C-c ) </td><td> Insert a reference (reftex)
</td></tr>
<tr>
<th colspan="2"> <b>Gnus</b>
</th></tr>
<tr>
<td> S o p </td><td> Forward a news to a newsgroup
</td></tr>
<tr>
<th colspan="2"> <b>Etags / Ebrowse</b>
</th></tr>
<tr>
<td colspan="2"> Creating the BROWSE file: <pre>ebrowse **/*.{cpp,h,hpp}</pre>
</td></tr>
<tr>
<td colspan="2"> Creating the TAGS file: <pre>etags **/*.{cpp,h,hpp}</pre>
</td></tr>
<tr>
<td> C-c b s </td><td> Look for a tag in all files
</td></tr>
<tr>
<td> C-c b u </td><td> Look for the calls to the selected member
</td></tr>
<tr>
<td> c b , </td><td> Continue the last operation
</td></tr>
<tr>
<td> C-c b % </td><td> Query replace a tag in all files
</td></tr></table>
@]
<table style="margin: 1em auto 1em auto">
<tr>
<th colspan="2"> <b>Basics</b>
</th></tr>
<tr>
<td> M-y </td><td> Replace previous paste with the previous clipboard content
</td></tr>
<tr>
<td> C-u N </td><td> Repeat the following command N times
</td></tr>
<tr>
<td> C-x C-m f </td><td> Change file encoding
</td></tr>
<tr>
<th colspan="2"> <b>Abbrevs</b>
</th></tr>
<tr>
<td> C-x a g </td><td> Add a global abbrev
</td></tr>
<tr>
<td> C-x a l </td><td> Add a local (mode) abbrev
</td></tr>
<tr>
<td> C-u - C-x a [gl] </td><td> Remove a global/local abbrev
</td></tr>
<tr>
<td> C-q </td><td> Don't expand this word.
</td></tr>
<tr>
<th colspan="2"> <b>Outline mode</b>
</th></tr>
<tr>
<td colspan="2"> (Remove C-o if not in TeX-mode)
</td></tr>
<tr>
<td> C-c C-o C-t </td><td> Hide all
</td></tr>
<tr>
<td> C-c C-o C-a </td><td> Show all
</td></tr>
<tr>
<td> C-c C-o C-e </td><td> Show this one
</td></tr>
<tr>
<td> C-c C-o C-c </td><td> Hide this one
</td></tr>
<tr>
<th colspan="2"> <b>Rectangles</b>
</th></tr>
<tr>
<td> C-x r k </td><td> Kill a rectangle
</td></tr>
<tr>
<td> C-x r y </td><td> Yank a rectangle
</td></tr>
<tr>
<td> C-x r t </td><td> Replaces the contents of a region-rectangle with a string on each line
</td></tr>
<tr>
<th colspan="2"> <b>Keyboard macros</b>
</th></tr>
<tr>
<td> C-x ( </td><td> Start a new macro
</td></tr>
<tr>
<td> C-x ) </td><td> Finish the new macro
</td></tr>
<tr>
<td> C-x e </td><td> Execute the most recently defined macro
</td></tr>
<tr>
<td> C-x C-k </td><td> Edit the most recently defined macro
</td></tr>
<tr>
<td> C-u C-x ( </td><td> Execute and add keys to the most recently defined macro
</td></tr>
<tr>
<td> name-last-kbd-macro </td><td> Give a name to the most recently defined macro
</td></tr>
<tr>
<td> apply-macro-to-region-lines </td><td> Run the last keyboard macro on each complete line in the region.
</td></tr>
<tr>
<th colspan="2"> <b>Auctex</b>
</th></tr>
<tr>
<td> C-c e </td><td> Insert a new item
</td></tr>
<tr>
<td> C-c C-c </td><td> Make an action (compile, view)
</td></tr>
<tr>
<td> C-c ` </td><td> Goto next error
</td></tr>
<tr>
<td> C-c ) </td><td> Insert a reference (reftex)
</td></tr>
<tr>
<th colspan="2"> <b>Gnus</b>
</th></tr>
<tr>
<td> S o p </td><td> Forward a news to a newsgroup
</td></tr>
<tr>
<th colspan="2"> <b>Etags / Ebrowse</b>
</th></tr>
<tr>
<td colspan="2"> Creating the BROWSE file: <pre>ebrowse **/*.{cpp,h,hpp}</pre>
</td></tr>
<tr>
<td colspan="2"> Creating the TAGS file: <pre>etags **/*.{cpp,h,hpp}</pre>
</td></tr>
<tr>
<td> C-c b s </td><td> Look for a tag in all files
</td></tr>
<tr>
<td> C-c b u </td><td> Look for the calls to the selected member
</td></tr>
<tr>
<td> c b , </td><td> Continue the last operation
</td></tr>
<tr>
<td> C-c b % </td><td> Query replace a tag in all files
</td></tr></table>
@]
Changed lines 5-7 from:
(:cellnr:) C-x C-m f \\
to:
(:cellnr:) C-u N
(:cell:) Repeat the following command N times
(:cellnr:) C-x C-m f
(:cell:) Change file encoding
(:cell:) Repeat the following command N times
(:cellnr:) C-x C-m f
(:cell:) Change file encoding
Changed lines 10-11 from:
(:cellnr:) C-x a g \\ (:cell:) Add a global abbrev
(:cellnr:) C-x a \\(:cell:) Add a local (mode) abbrev
(:cellnr:) C-x a \\
to:
(:cellnr:) C-x a g
(:cell:) Add a global abbrev
(:cellnr:) C-x a
(:cell:) Add a local (mode) abbrev
(:cell:) Add a global abbrev
(:cellnr:) C-x a
(:cell:) Add a local (mode) abbrev
Changed lines 3-5 from:
(:cellnr:) M-y \\ (:cell:) Replace previous paste with the previous clipboard content
to:
(:cellnr:) M-y
(:cell:) Replace previous paste with the previous clipboard content
(:cell:) Replace previous paste with the previous clipboard content
Changed lines 3-5 from:
(:cellnr:) M-y (:cell:) Replace previous paste with the previous clipboard content
(:cellnr:) C-u N (:cell:) Repeat the following command N times
(:cellnr:) C-x C-m f (:cell:) Change file encoding
(:cellnr:) C-u N (:cell:) Repeat the following command N times
(:cellnr:) C-x C-m f (:cell:) Change file encoding
to:
(:cellnr:) M-y \\ (:cell:) Replace previous paste with the previous clipboard content
(:cellnr:) C-u N \\ (:cell:) Repeat the following command N times
(:cellnr:) C-x C-m f \\ (:cell:) Change file encoding
(:cellnr:) C-u N \\ (:cell:) Repeat the following command N times
(:cellnr:) C-x C-m f \\ (:cell:) Change file encoding
Changed lines 7-8 from:
(:cellnr:) C-x a g (:cell:) Add a global abbrev
(:cellnr:) C-x a l (:cell:) Add a local (mode) abbrev
to:
(:cellnr:) C-x a g \\ (:cell:) Add a global abbrev
(:cellnr:) C-x a \\ (:cell:) Add a local (mode) abbrev
(:cellnr:) C-x a \\ (:cell:) Add a local (mode) abbrev
Added lines 1-79:
(:table border=1:)
(:cell:) '''Basics'''
(:cellnr:) M-y (:cell:) Replace previous paste with the previous clipboard content
(:cellnr:) C-u N (:cell:) Repeat the following command N times
(:cellnr:) C-x C-m f (:cell:) Change file encoding
(:cellnr:) '''Abbrevs'''
(:cellnr:) C-x a g (:cell:) Add a global abbrev
(:cellnr:) C-x a l (:cell:) Add a local (mode) abbrev
(:tableend:)
|-
| C-u - C-x a [gl] || Remove a global/local abbrev
|-
| C-q || Don't expand this word.
|-
! colspan="2" | '''Outline mode'''
|-
| colspan="2" | (Remove C-o if not in TeX-mode)
|-
| C-c C-o C-t || Hide all
|-
| C-c C-o C-a || Show all
|-
| C-c C-o C-e || Show this one
|-
| C-c C-o C-c || Hide this one
|-
! colspan="2" | '''Rectangles'''
|-
| C-x r k || Kill a rectangle
|-
| C-x r y || Yank a rectangle
|-
| C-x r t || Replaces the contents of a region-rectangle with a string on each line
|-
! colspan="2" | '''Keyboard macros'''
|-
| C-x ( || Start a new macro
|-
| C-x ) || Finish the new macro
|-
| C-x e || Execute the most recently defined macro
|-
| C-x C-k || Edit the most recently defined macro
|-
| C-u C-x ( || Execute and add keys to the most recently defined macro
|-
| name-last-kbd-macro || Give a name to the most recently defined macro
|-
| apply-macro-to-region-lines || Run the last keyboard macro on each complete line in the region.
|-
! colspan="2" | '''Auctex'''
|-
| C-c e || Insert a new item
|-
| C-c C-c || Make an action (compile, view)
|-
| C-c ` || Goto next error
|-
| C-c ) || Insert a reference (reftex)
|-
! colspan="2" | '''Gnus'''
|-
| S o p || Forward a news to a newsgroup
|-
! colspan="2" | '''Etags / Ebrowse'''
|-
| colspan="2" | Creating the BROWSE file: <pre>ebrowse **/*.{cpp,h,hpp}</pre>
|-
| colspan="2" | Creating the TAGS file: <pre>etags **/*.{cpp,h,hpp}</pre>
|-
| C-c b s || Look for a tag in all files
|-
| C-c b u || Look for the calls to the selected member
|-
| c b , || Continue the last operation
|-
| C-c b % || Query replace a tag in all files
|}
(:cell:) '''Basics'''
(:cellnr:) M-y (:cell:) Replace previous paste with the previous clipboard content
(:cellnr:) C-u N (:cell:) Repeat the following command N times
(:cellnr:) C-x C-m f (:cell:) Change file encoding
(:cellnr:) '''Abbrevs'''
(:cellnr:) C-x a g (:cell:) Add a global abbrev
(:cellnr:) C-x a l (:cell:) Add a local (mode) abbrev
(:tableend:)
|-
| C-u - C-x a [gl] || Remove a global/local abbrev
|-
| C-q || Don't expand this word.
|-
! colspan="2" | '''Outline mode'''
|-
| colspan="2" | (Remove C-o if not in TeX-mode)
|-
| C-c C-o C-t || Hide all
|-
| C-c C-o C-a || Show all
|-
| C-c C-o C-e || Show this one
|-
| C-c C-o C-c || Hide this one
|-
! colspan="2" | '''Rectangles'''
|-
| C-x r k || Kill a rectangle
|-
| C-x r y || Yank a rectangle
|-
| C-x r t || Replaces the contents of a region-rectangle with a string on each line
|-
! colspan="2" | '''Keyboard macros'''
|-
| C-x ( || Start a new macro
|-
| C-x ) || Finish the new macro
|-
| C-x e || Execute the most recently defined macro
|-
| C-x C-k || Edit the most recently defined macro
|-
| C-u C-x ( || Execute and add keys to the most recently defined macro
|-
| name-last-kbd-macro || Give a name to the most recently defined macro
|-
| apply-macro-to-region-lines || Run the last keyboard macro on each complete line in the region.
|-
! colspan="2" | '''Auctex'''
|-
| C-c e || Insert a new item
|-
| C-c C-c || Make an action (compile, view)
|-
| C-c ` || Goto next error
|-
| C-c ) || Insert a reference (reftex)
|-
! colspan="2" | '''Gnus'''
|-
| S o p || Forward a news to a newsgroup
|-
! colspan="2" | '''Etags / Ebrowse'''
|-
| colspan="2" | Creating the BROWSE file: <pre>ebrowse **/*.{cpp,h,hpp}</pre>
|-
| colspan="2" | Creating the TAGS file: <pre>etags **/*.{cpp,h,hpp}</pre>
|-
| C-c b s || Look for a tag in all files
|-
| C-c b u || Look for the calls to the selected member
|-
| c b , || Continue the last operation
|-
| C-c b % || Query replace a tag in all files
|}