Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!brunix!cs132087 From: cs132087@brunix (Jeff Baum) Newsgroups: comp.sys.mac Subject: Re: Making Word feel like emacs? Message-ID: <5862@brunix.UUCP> Date: 7 May 89 19:51:21 GMT References: <5557@brunix.UUCP> Sender: news@brunix.UUCP Reply-To: cs132087@cslab5b.UUCP (Jeff Baum) Distribution: na Organization: Brown University Department of Computer Science Lines: 26 In article ghh@thought.princeton.edu (Gilbert Harman) writes: >I don't see how to use Quickeys to get a SEQUENCE of >(possibly modified) keystrokes to stand for a command, e.g. > followed by f to stand for the command "move >forward one word." Is there a way to use Quickeys or some >other system to bind a key like to a complex >conditional command: "Press a key, if it is "f" then go >forward a word, if it is "b" then go back a word, ..."? You have practically answered your own question. In QuicKeys, there is a number of things you can define, one of which is a SEQUENCE. Therefore, first define the escape key (as anything, or even leave undefined), and then use a sequence to first choose the escape, and then to choose some keystroke. A sequence of keystrokes can be defined thorought the "define text" part of QuickKeys. The control key can be simulated by the ^, i.e. control-d would be "^d" (without quotes...) I'm not sure if you can define ESC through this part, but if you can, then you wouldn't even need to define the ESC keystroke. Jeff Baum cs132087@cs.brown.edu