2009-08-19

which keys can user define in emacs?

On Aug 18, 5:58 pm, "Mark" wrote:
> Hello
>
> by default key-bindings for tags operations (find tag, find next tag etc.)
> are quite twisted and hard to remember, comparing to vim' default keys. Is
> there any other way to define more 'easy-to-use' bindings? I know I can
> re-define any key, but as I know not every key sequence is permitted to be
> used by end-user and those that are, are not very "handy" involving F1-F10
> keys or the like. Especially I'd love to have opportunity when find a tag,
> to open a file containing the tag in a new window (similar to Ctrl-W Ctrl-]
> in vim).
>
> So how do people deal with default tags options while editing for example
> C/C++ code? Can you please share your key-bindings for these cases, if I
> find them comfortable to use I'd be more happy with Emacs :)

well i use ergoemacs.
http://code.google.com/p/ergoemacs/

perhaps give it a try?

of course you can define any key. And yes most “Ctrl+‹key›” and “Alt+‹key›” spaces are already used. This is partly why emacs has a convention where “Ctrl+c ‹letter›” space is for users. If you do not wish to step over emacs keys or official convention, then “Ctrl+c ‹letter›” and F5 to F9 is pretty much the only one you can use.

However, if you look carefully, you'll see there are probably quite a few spots in “Ctrl+‹key›” and “Alt+‹key›” spaces that are bound to commands you never use. Might want to steal it then.

This might be helpful

• Emacs's Keybinding Layout
http://xahlee.org/emacs/emacs_kb_shortcuts.html

Xah
∑ http://xahlee.org/

No comments:

Post a Comment