Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main () {
- printf("%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s",
- "==================== Emacs Command Tutor ======================\n",
- "================== Author: Nguyen Duc Hung ====================\n",
- "== Created as exercise of C Programming Introduction Course ===\n",
- "C-x C-f: Find and open file existed/create a new file in buffer\n",
- "C-x C-s: Save the current file\n",
- "C-x C-w: Write the text to an alternate name\n",
- "C-x C-c: Close emacs\n",
- "C-f: Move cursor to forward char\n",
- "C-b: Move cursor to backward char\n",
- "M-f: Move cursor to forward word\n",
- "M-b: Move cursor to backward word\n",
- "C-p: Move cursor to previous line\n",
- "C-n: Move cursor to next line\n",
- "C-v: Scroll up one page\n",
- "M-v: Scroll down one page\n",
- "M-<: Go to beginning of text\n",
- "M->: Go to end of text\n",
- "C-space: Set beginning mark (for selection)\n",
- "C-k: Delete from current position cursor to the end of line\n",
- "C-w: Cut the current selection\n",
- "M-w: Copy the current selection\n",
- "C-y: Paste the copied/cut selection\n",
- "C-x 1: Show only one windows that the cursor currently in\n",
- "C-x 2: Split windows horizontally\n",
- "C-x 3: Split windows vertically\n",
- "C-x 0: Close windows that the cursor currently in\n",
- "C-x o: Move the cursor to the next windows\n",
- "C-x k: Kill the buffer that cursor currently in\n",
- "C-x b: Create/open a buffer\n",
- "C-s: Search a string forward\n",
- "C-r: Search a string backward\n",
- "M-%: Replace a string by another\n",
- "C-x u: Undo\n",
- "C-x C-q: Toggle read-only buffer mode\n");
- return 0;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement