forked from pifty/tutes-dump
Replace escape <,> with <, >
for i in *.html.docuwiki; do perl -pi -e "s/>/>/g" $i; done for i in *.html.docuwiki; do perl -pi -e "s/</</g" $i; done
This commit is contained in:
@@ -31,8 +31,8 @@ Emacs is a non-modal editor, meaning when you have a file loaded into a buffer,
|
||||
| C-x u | Undo (alias for C-/) |
|
||||
| C-g | Abort the current command |
|
||||
| C-l | Redraw and center screen at cursor |
|
||||
| M-< | Go to start of buffer |
|
||||
| M-> | Go to end of buffer |
|
||||
| M-< | Go to start of buffer |
|
||||
| M-> | Go to end of buffer |
|
||||
| Backspace | Delete previous character |
|
||||
|
||||
===== Getting Help =====
|
||||
@@ -68,7 +68,7 @@ Here are the commands we discussed above, and a few other useful ones:
|
||||
|
||||
Emacs has a nice search mode called //incremental search//. To use it, type "C-s". The text "I-search:" will appear in the echo area. Now start typing a search string. As you type, Emacs will search for your string in real-time (starting at point), highlighting any matches it finds. You can backspace and re-type text, and the search will continue to change with the text you type. When you find a match, you can hit "C-s" to search again and jump to the next match, or you can just hit "Enter" to exit the search mode and leave the cursor at the last match. "C-g" will abort the search and put your cursor back where you started. Searches will re-start at the top of a buffer if they hit the bottom. You can search backwards in a similar fashion with "C-r".
|
||||
|
||||
To replace text that matches a search pattern, type "M-%". You'll see "Query replace:" in the echo area. Type a search string, and hit "Enter". The echo area will now display "Query replace <search string> with:". Type the replacement string, and hit "Enter" again. Emacs will search through your buffer, looking for the search string. When it finds it, it will display "Query replacing <search string> with <replacement string>: (? for help)". Type "y" to replace this match and move onto the next, or "n" to skip this match. Type "!" to replace this occurrence of the search string and all other occurrences in your buffer without prompting. As usual, you can type "C-g" to abort a search/replace operation.
|
||||
To replace text that matches a search pattern, type "M-%". You'll see "Query replace:" in the echo area. Type a search string, and hit "Enter". The echo area will now display "Query replace <search string> with:". Type the replacement string, and hit "Enter" again. Emacs will search through your buffer, looking for the search string. When it finds it, it will display "Query replacing <search string> with <replacement string>: (? for help)". Type "y" to replace this match and move onto the next, or "n" to skip this match. Type "!" to replace this occurrence of the search string and all other occurrences in your buffer without prompting. As usual, you can type "C-g" to abort a search/replace operation.
|
||||
|
||||
All searches in Emacs are case-insensitive by default, unless you type at least one capital letter in your search string - in that case, the search becomes case-sensitive.
|
||||
|
||||
@@ -229,8 +229,8 @@ Then restart emacs, or place the cursor at the end of each line in turn and pres
|
||||
| \ | Display the html source of the current page. |
|
||||
| SPC | Scroll up the current window, or go to the next page. |
|
||||
| b | Scroll down the current window, or go to the previous page. |
|
||||
| > | Scroll to the left. |
|
||||
| < | Scroll to the right. |
|
||||
| > | Scroll to the left. |
|
||||
| < | Scroll to the right. |
|
||||
| . | Shift to the left. |
|
||||
| , | Shift to the right. |
|
||||
| M-l | Recenter horizontally. |
|
||||
|
||||
Reference in New Issue
Block a user