Mark Engelberg <mark.engelb...@gmail.com> writes: Hi Mark,
> Also, where can I look up the names of various commands to rebind to > different keys? For example, I want to remap C-s to do what C-x-C-s > currently does, and I wan to remap C-f to do what C-s currently does, > to make behavior more consistent with other programs I use. (After > using emacs for a while, I inevitably find myself hitting C-x-C-s to > save in other programs :) ) If you want the usual C-s saves, C-x cuts, C-v pastes bindings, you can enable CUA mode: ,----[ C-h f cua-mode RET ] | cua-mode is an interactive autoloaded Lisp function in `cua-base.el'. | | It is bound to <menu-bar> <options> <cua-mode>, <menu-bar> <options> | <cua-emulation-mode>. | | (cua-mode &optional arg) | | Toggle CUA key-binding mode. | When enabled, using shifted movement keys will activate the | region (and highlight the region using `transient-mark-mode'), | and typed text replaces the active selection. | | Also when enabled, you can use C-z, C-x, C-c, and C-v to undo, | cut, copy, and paste in addition to the normal Emacs bindings. | The C-x and C-c keys only do cut and copy when the region is | active, so in most cases, they do not conflict with the normal | function of these prefix keys. | | If you really need to perform a command which starts with one of | the prefix keys even when the region is active, you have three | options: | - press the prefix key twice very quickly (within 0.2 seconds), | - press the prefix key and the following key within 0.2 seconds, or | - use the SHIFT key with the prefix key, i.e. C-S-x or C-S-c. | | You can customize `cua-enable-cua-keys' to completely disable the | CUA bindings, or `cua-prefix-override-inhibit-delay' to change | the prefix fallback behavior. | | CUA mode manages Transient Mark mode internally. Trying to disable | Transient Mark mode while CUA mode is enabled does not work; if you | only want to highlight the region when it is selected using a | shifted movement key, set `cua-highlight-region-shift-only'. `---- But I'd suggest to try the standard bindings for some time first. As others already said, if you use Emacs efficiently you'll isearch much more than you'll save, and C-s is isearch by default. (There's no faster navigation/movement than isearching.) Bye, Tassilo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---