[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

key bindings

I'd like to do something that sounds easy to me, except that I haven't
been able to figure out how to do it.

I'd like to bind a key to have the effect of doing the following:

^X ] m-0 ^L

I.e., ^R Next Page followed by a ^R New Window with an argument of
zero.  The effect of this would be to go to the next page boundary and
put it at the top of the screen.

It seems to me that I should be able to do it in an EMACS.VARS file by
binding some name to those functions and then binding the name to a
key instead of saving a keyboard macro in a separate file.

Should I give up or is there a way to do it?