-
Notifications
You must be signed in to change notification settings - Fork 2
Cheat Sheet All Prompts
Appart from adapting foreign keymaps, and adding more & more stuff to prompts, and planning to make all of this easier and more maintainable, I’m looking at making Emacs-Nu even easier to learn & use. One obvious path is to try to reduce exceptions & extend rules application.
Exceptions are
- Inversed prompts : some prompts are called from control. These are : open [because alt is used for paddle, and because opening something always implies a choice], and help [we could change this, but is that an issue? maybe - in such case we want a nu-help nice buffer on control-h]
- Deviant paddle : alt o does forward-word, but control-o does not kill-word (see above). Use control-d for this (kill-word), or Alt+d o (kill-word). Similarly, alt+h is a synonym for alt + ^, but control+h will not delete to bol (see above).
- b.=beginning of, e.=end of, n.=next (forward), p.=previous (backward)
- kl = kill, sw = switch (, toggle, transpose)
- w. word, lk=link
To sum up, the sole acceptable modifier while two-handed editing is Alt. Temporary use of control or specific use of control o/p/l/m is ok.
Alt : excellent for the azer qsdf uiop jklm. Poor for wxcv ty gh bn This is why these prompts are poor. Control : Poor, except for uiop jklm o t one h, wxcv otoh => but this otoh implies to stop workflow. Thus, control w x c v is fine while stopping for a while (1/2 sec.) Control + Alt : Unconvenient. But once again uiop jkml is still usable.
Shift + Alt : Only fine for uiop jkml. Once again!
| key | Alt | Control | S-Ctrl | S-Alt | C-Alt |
|---|---|---|---|---|---|
| a | Mark /toggl | Mark /toggl | Rectangle | x | glob mark |
| z | Undo tree | Undo | Redo | x | x |
| e | Copy Above | x | x | x | |
| r | Replace | Repl. regex | x | x | x |
| t | Other tab | New tab | x | x | x |
| q | Quit | Quit | x | x | x |
| s | Save | Save | org stor lk | x | x |
| d | Delete | kl w. | kl block | x | x |
| f | Find | Find | ace jump w. | x | x |
| g | Goto | god | quit emacs | x | recenter |
| w | Window Pr | kl buffer | sw frame | x | x |
| x | helm Mx | Cut | ctl-x | x | x |
| c | - | Copy | x | x | x |
| v | Insert | Paste | quoted ins. | kl ring | x |
| b | Emphasis | “bold” | sw comment | x | x |
| y | Copy Below | x | x | x | x |
| u | p. w. | ctrl+bkspc. | x | select | p. list |
| i | up | X [tab] | p. buffer | select | b. defun |
| o | n. w. | Open | helm-mini | select | n. list |
| p | Argument | x | async shell | eval sexp | |
| h | orig. | Help | x | x | Maj mode |
| j | left | backsp | x | select | p. sex |
| k | down | kl line | n. buffer | select | e. defun |
| l | right | kl right | x | select | n. sexp |
| m | newline &indent | X [RET] | x | x | x |
| n | New | split win | org capture | x | x |
| SPC | n. scroll | Control+c | x | x | scroll oth |
| RET | Used for org. | repeat | x | x | x |
| DEL | p. scroll | x | x | x | x |
| TAB | nil | x | x | x | x |