I'm using a certain command very often from the menus and using my mouse. It is 'search -> replace -> global' but how can I assign a keymap to it please so that I'm able to call it from within my document please? Thanks Sharon -- A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk DrugFacts = http://www.drugfacts.org.uk Debian 8.6, fluxbox 1.3.5-2, emacs 25.1.1.1