[Top] [All Lists]

Re: How use keybindings in term mode?

Subject: Re: How use keybindings in term mode?
From: Teemu Likonen
Date: Sat, 31 Jan 2009 07:12:13 GMT

On 2009-01-30 22:59 (-0800), seberino@xxxxxxxxxxxxxxx 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)))

<Prev in Thread] Current Thread [Next in Thread>