[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How use keybindings in term mode?
From: |
Teemu Likonen |
Subject: |
Re: How use keybindings in term mode? |
Date: |
Sat, 31 Jan 2009 07:12:13 GMT |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
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)))