From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.help Subject: Re: How use keybindings in term mode? Date: Sat, 31 Jan 2009 07:12:13 GMT Organization: Sonera Customer Message-ID: <878wosrlte.fsf@iki.fi> References: <513c3261-7aa1-4087-8ce2-bff23a4d8db6@u18g2000pro.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233387704 29811 80.91.229.12 (31 Jan 2009 07:41:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Jan 2009 07:41:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 31 08:42:58 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LTAVE-0000iT-1P for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Jan 2009 08:42:56 +0100 Original-Received: from localhost ([127.0.0.1]:52836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTATv-0002id-Pw for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Jan 2009 02:41:35 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!feeder.erje.net!feeder2.news.saunalahti.fi!feeder1.news.saunalahti.fi!nntp.inet.fi!central1.inet.fi!inet.fi!read4.inet.fi.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:il1ElmZ2P8Jg6V2Q32a0vrRCEeM= Original-Lines: 16 Original-NNTP-Posting-Host: 80.220.180.181 Original-X-Complaints-To: abuse@inet.fi Original-X-Trace: read4.inet.fi 1233385933 80.220.180.181 (Sat, 31 Jan 2009 09:12:13 EET) Original-NNTP-Posting-Date: Sat, 31 Jan 2009 09:12:13 EET Original-Xref: news.stanford.edu gnu.emacs.help:166472 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61791 Archived-At: On 2009-01-30 22:59 (-0800), seberino@spawar.navy.mil wrote: > I noticed you can't do certain keybindings in term mode. It is as if > you lose all your Emacs key binding when you use term mode. > > Is there some way to find a happy medium between term and shell? In > other words, more power than shell w/o losing so many keybindings like > in term mode? In term mode the normal prefix key for Emacs commands is C-c. It works pretty much like C-x prefix key elsewhere in Emacs. I prefer using C-x in term mode too so I do this in my ~/.emacs file: (add-hook 'term-mode-hook '(lambda () (term-set-escape-char ?\C-x)))