help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slow emacsclient after some time


From: Suvayu Ali
Subject: Re: Slow emacsclient after some time
Date: Tue, 20 Nov 2012 18:48:27 +0100
User-agent: Mutt/1.5.21 (2011-07-01)

On Tue, Nov 20, 2012 at 05:41:07PM +0100, Alexandre LAURENT wrote:
> On Tue, Nov 20, 2012 at 4:40 PM, Suvayu Ali <fatkasuvayu+linux@gmail.com> 
> wrote:
> >
> > If you do not mind sharing, I would be interested in this solution.  I
> > also set term to xterm for flow control and better meta key support for
> > fullscreen applications in screen.
> >
> Sure!
> That's the only hack I've found that seems to work well with
> xterm/tmux/rxvt-unicode/etc. :
> 
> ;; Remap escape sequences to correct keybindings
> (defun my-term-setup-hook ()
>   (define-key function-key-map "\e[1;3A" [M-up])
>   (define-key function-key-map "\e[1;3B" [M-down])
>   (define-key function-key-map "\e[1;3C" [M-right])
>   (define-key function-key-map "\e[1;3D" [M-left])
>   (define-key function-key-map "\e[1;5A" [C-up])
>   (define-key function-key-map "\e[1;5B" [C-down])
>   (define-key function-key-map "\e[1;5C" [C-right])
>   (define-key function-key-map "\e[1;5D" [C-left]))
> (add-hook 'term-setup-hook 'my-term-setup-hook)
> 
> (global-set-key [M-up] 'windmove-up)
> (global-set-key [M-down] 'windmove-down)
> (global-set-key [M-right] 'windmove-right)
> (global-set-key [M-left] 'windmove-left)
> 
> I previously had only this:
> ;; (windmove-default-keybindings 'meta)
> 

Thanks a lot!  I'll try these out.

-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]