Xref: utzoo comp.mail.mh:1195 comp.windows.x:28740 Path: utzoo!attcan!uunet!know!zaphod.mps.ohio-state.edu!ncar!ncar.ucar.EDU!gary From: gary@ncar.ucar.EDU (Gary Strand) Newsgroups: comp.mail.mh,comp.windows.x Subject: Re: xmh - rebinding text editing keys Message-ID: <8949@ncar.ucar.edu> Date: 25 Oct 90 18:33:42 GMT Sender: news@ncar.ucar.edu Reply-To: strandwg@ncar.ucar.edu (Gary Strand) Organization: Climate Sensitivity and CO2 Research Group, CGD/NCAR Lines: 42 Well, thanks to Per Hedeland (per@erix.ericsson.se), I've figured out how to re-bind the Athena Text widget more to my liking. Which, in turn, will make the editor under 'xmh' work more like my emacs, with its weirdo key bindings. This also makes 'xedit' work like my emacs. Here's the relevant section from my 'XResources' file: ------------------------------------------------------------------------------ ! ! Make text widget more Gosling-ish in general ! *Text.Translations: #override \n\ D: insert-char() \n\ CtrlX,CtrlI: insert-file() \n\ CtrlA: beginning-of-line() \n\ CtrlE: end-of-line() \n\ CtrlF: forward-word() \n\ CtrlB: backward-word() \n\ CtrlJ: next-line() \n\ CtrlK: previous-line() \n\ CtrlP: previous-page() \n\ CtrlN: next-page() \n\ CtrlW: kill-to-end-of-line() \n\ CtrlY: unkill() \n\ CtrlH: backward-character() \n\ CtrlL: forward-character() \n\ CtrlV: redraw-display() \n\ CtrlR: scroll-one-line-down() \n\ CtrlZ: delete-next-character() \n\ Escape,~Meta ~CtrlD: kill-word() \n\ Escape,:~Meta\\<: beginning-of-file() \n\ Escape,:~Meta\\>: end-of-file() \n\ Escape,:~Meta]: forward-paragraph() \n\ Escape,:~Meta[: backward-paragraph() ------------------------------------------------------------------------------ Thanks to all who responded. -- Gary Strand Look, it's trying to think. Internet: strandwg@ncar.ucar.edu Voicenet: (303) 497-1383