2 Commits 991f76358d ... 7bbe75ac8b

Autore SHA1 Messaggio Data
  NerdRat 7bbe75ac8b Finished the emacs help key bindings section. 2 anni fa
  NerdRat ac1d3ba508 Added missing info key/chords and started emacs cheatsheet. 2 anni fa
2 ha cambiato i file con 102 aggiunte e 3 eliminazioni
  1. 88 0
      emacs.md
  2. 14 3
      info.md

+ 88 - 0
emacs.md

@@ -0,0 +1,88 @@
+# Emacs Cheatsheet
+
+
+## Getting help in emacs
+
+### Basic help commands
+
+| Key/Chord | Action |
+| --------- | ------ |
+| `?` | Describe the mode you are currently in, if available. This will show a description, commands and key bindings available in the current major mode |
+| `C-h ?` | Enter 'metahelp' mode with all available options to get help about everything inside emacs |
+
+
+### Commands, keys and functions
+
+| Key/Chord | Action |
+| --------- | ------ |
+| `C-h m` | Show help for the current major and minor modes |
+| `C-h b` | Show all key bindings, that is a list of key bindings and associated commands or functions |
+| `C-h k` | Show help for key, prompts you to enter the key or key chord and shows you the help for the command or function it calls and alternate key bindings |
+| `C-h c` | Show a brief help for key, just a description of what it does |
+| `C-h w` | Show which key runs a specific command, prompts you for a command. Press <TAB> for a list of commands |
+| `C-h a` | Search for commands, runs 'apropos-command', equivalent of 'M-x apropos'. Prompts you for a regular expression, opens a new buffer with the matching commands |
+| `C-h d` | Search documentation of functions, variables and other items |
+| `C-h x` | Show help for command |
+| `C-h f` | Show help for function |
+| `C-h v` | Show help for variable |
+| `C-h o` | Show help for function or variable |
+
+
+### Manuals
+
+| Key/Chord | Action |
+| --------- | ------ |
+| `C-h r` | Show emacs manual |
+| `C-h F` | Show emacs manual section for command |
+| `C-h K` | Show emacs manual for a key sequence |
+| `C-h i` | Show all installed manuals |
+| `C-h R` | Show a specific manual from all installed |
+| `C-h S` | Show a description of a symbol in pertinent manual |
+
+
+### Other help commands
+
+| Key/Chord | Action |
+| --------- | ------ |
+| `C-h C-e` | Extending emacs with external packages |
+| `C-h p` | Search for emacs packages in a Finder mode menu, you can also do a list with 'M-x list-packages' |
+| `C-h P` | Describe a specific emacs package |
+| `C-h t` | Start the emacs tutorial |
+| `C-h e` | Show recent messsages from echo area |
+| `C-h l` | Show the last 300 input keystrokes |
+| `C-h .` | Show local help at point |
+
+
+### Miscelaneous help
+
+| Key/Chord | Action |
+| --------- | ------ |
+| `C-h C-a` | Open About emacs buffer |
+| `C-h C-f` | Open emacs FAQ info buffer |
+| `C-h C-n` | Open emacs news of recent changes buffer |
+| `C-h C-p` | Open emacs known problems buffer |
+| `C-h C-d` | Open debugging emacs buffer |
+| `C-h g` | Open the "about the GNU project" web page in browser |
+| `C-h C-c` | Open the "copying permission" buffer with the General Public Licence (GPLv3+) |
+| `C-h C-o` | Open the "ordering and distribution" information buffer |
+| `C-h C-m` | Open the information buffer to order printed manuals |
+| `C-h C-t` | Open the emacs project TODO list |
+| `C-h C-w` | Open information buffer on absence of warranty |
+
+
+### Internationalization and Coding Systems
+
+| Key/Chord | Action |
+| --------- | ------ |
+| `C-h I` | Describe an input method, if you press <TAB> you can get a list of input methods |
+| `C-h C` | Describe the system's coding system (utf-8, etc) |
+| `C-h L` | Describe the system's language environment |
+| `C-h s` | Show the current syntax table |
+| `C-h h` | Display the HELLO file illustrating various scripts |
+
+
+## General key bindings
+
+| Key/Chord | Action |
+| `C-x =` | Display a message in echo area, describing the character at point |
+| `C-g` | Signal a ‘quit’ condition. Quits from any operation you want to get out of and cancel it. |

+ 14 - 3
info.md

@@ -10,7 +10,7 @@ When using info, certain keys and key combinations are commands. These are all t
 
 ## Basic info commands
 
-| Key | Action |
+| Key/Chord | Action |
 | --- | ------ |
 |  `h`  | Enter info usage tutorial |
 |  `?`  | Show a summary of all available commands (Emacs info) |
@@ -21,21 +21,28 @@ When using info, certain keys and key combinations are commands. These are all t
 | `n` | Move foward to the next node |
 | `p` | Move backward to the previous node |
 | `b` | Move to the beginning of the current node |
+| `e` | Move to the end of the current node |
 | `<CTRL>-L` | Display node again and cicle through screenful recentering position |
 | `]` | Move to the next node on the next level, when a node has menus |
 | `[` | Move to the previous node on the previous level, when the node has menus |
+| `<` | Go to the 'Top' node of this file |
+| `>` | Go to the final node in this file |
 | `m` | Go directly to one of the subnodes, it prompts for you to type the subtopic name, usually shown in a menu |
 | `u` | Go 'Up' to the node you just came from (one node up in the tree), leading you back to the menu |
+| `^` | Same as 'u', go 'Up' a node from you just came from |
 | `<CTRL>-G` | Cancel the current operation, available when the prompt is expecting some input |
 | `<TAB>` | Move to menu subtopic lines and move to the next menu item on each <TAB> press |
 | `M-<TAB>` | Move backwards between menu subtopic items (<Shift>-<TAB> on Emacs info) |
+| `<CTRL>-M-i | Move the cursor to previous cross-reference or menu subtopic items |
 | `<RET>` | Go to the currently selected subtopic menu item, descending one node in the tree. Also you can follow a selected cross reference |
 | `l` | Move back in history to the last node you were at |
 | `f` | Follow a cross reference by specifying the name, this will also suggest the nearest cross reference |
 | `f?` | List all the cross references in the current node |
 | `i` | Search the index for a given topic and takes you to the node which is listed in the indes for that topic |
+| `,` | Move to the next match from a previous 'i' command |
 | `r` | Revisit nodes in the history list in foward direction, so 'r' returns you to the node you came from |
 | `L` | Creates a virtual node that contains a list of all the nodes you visited, you can select a node from this menu to visit it |
+| `T` | Go to the table of contents of the current Info file |
 | `d` | Opens the directory node. This node is the first you see when you enter info |
 | `t` | Moves to the 'Top' node of the current manual manual, usually where the intro is |
 | `q` | This takes you out of info, no matter in which node you are |
@@ -45,11 +52,13 @@ When using info, certain keys and key combinations are commands. These are all t
 
 These commands are focused mostly on searching and finding something quickly, using the manual as a reference rather than as a tutorial. This includes searching text in a manual, searching the index of a manual, chosing a menu subtopic by its number, create an info buffer in emacs and the emacs info variables to modify the behavior of Emacs Info.
 
-| Key | Action |
+| Key/Chord | Action |
 | --- | ------ |
 | `<CTRL>-q` | Quotes the next character so it is entered literally, this is usually done when you are searching |
 | `s` | Allows you to search a whole Info file for a string, this switches to the node if necessary. Type 's' and '<RET>' again to search the same string again |
+| `S` | Search through this Info file for  the specified regexp case-sensitively |
 | `<CTRL>-s` | Start incremental search foward (Emacs and Standalone Info), and type '<RET>' to stop. Type the same sequence to repeat the search |
+| `<CTRL>-M-s` | Use Isearch to search through multiple Info nodes |
 | `<CTRL>-r` | Start incremental search backwards, same sequence as foward to stop and repeat the search through multiple info nodes |
 | `I` | Search the index for a string and construct a virtual info node with the results of the index search making easier to select |
 | `g` | Go to a node by its name. For example 'gTop<RET>' will take you to the Top node in this file. You can also specify the node and the file: 'g(emacs)Top<RET>' will take you to the Top node in the emacs file |
@@ -57,5 +66,7 @@ These commands are focused mostly on searching and finding something quickly, us
 | `M-n` | When using emacs, select a new independent Info buffer in a new window |
 | `C-u m` | When using emacs, creates a new independent Info buffer visiting the subnode in the menu, prompts you typ type the subtopic |
 | `C-u g` | When using emacs, creates a new independent Info buffer visiting the subnode by its name, prompts you to type the name |
+| `C-u C-h i` | Move to the new Info file with completion |
 | `C-u <number> C-h i` | Switch to the info buffer with the given <number>, creating it if does not exist |
-| `M-x info-display-manual` | Show an Info manual by name |
+| `M-x info-display-manual` | Show an Info manual by name |
+| `M-x info-apropos` | Look for a string in the indices of all manuals |