emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Greg Troxel <gdt@ir.bbn.com>
To: Esben Stien <b0ef@esben-stien.name>
Cc: emacs-orgmode@gnu.org
Subject: Re: Fast Access to TODO States without C-t
Date: Tue, 15 Apr 2014 10:17:04 -0400	[thread overview]
Message-ID: <rmilhv6y8wv.fsf@fnord.ir.bbn.com> (raw)
In-Reply-To: <87ha5v34ki.fsf@quasar.esben-stien.name> (Esben Stien's message of "Tue, 15 Apr 2014 00:54:21 +0200")

[-- Attachment #1: Type: text/plain, Size: 1321 bytes --]


Esben Stien <b0ef@esben-stien.name> writes:

> I'm trying to figure out how to bind fast access to TODO states, without
> using C-t.
>
> The reason is that I have C-t as escape code for my screen session.

This isn't what you asked, but I would suggest changing your escape key
and perhaps using tmux instead of screen.  Surely screen has way to send
the escape key, but you may need to configure it.

I thought for a long time about escape keys.  screen defaults to C-a and
tmux to C-b.  As an emacs user, I use both of those quite a lot.  So I
went through all the rest of the control characters, and found the one
that I have the least use for to be C-j.  And then I set tmux so that
C-j C-j sends a single C-j to the terminal session.  The only time I
need to type this is when searching for strings that contain newlines,
which is a once/day kind of thing for me.

I also switched from screen to tmux, initially for no good reason (the
cool kids were using tmux, and they all said they liked it better), but
I've been using more and more of it and find very little to complain
about.

Here's my .tmux.conf to set the prefix to C-j: 

----------------------------------------
unbind-key C-b
bind-key C-j send-prefix
set-option -g prefix C-j
----------------------------------------


[-- Attachment #2: Type: application/pgp-signature, Size: 180 bytes --]

  parent reply	other threads:[~2014-04-15 14:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-14 22:54 Fast Access to TODO States without C-t Esben Stien
2014-04-15  1:58 ` Eric Abrahamsen
2014-04-15  2:10   ` Esben Stien
2014-04-15  2:40     ` Eric Abrahamsen
2014-04-15 18:36       ` Esben Stien
2014-04-16  2:14         ` Eric Abrahamsen
2014-04-18  2:55           ` Esben Stien
2014-04-15  7:26     ` Oleh
2014-04-17  6:38       ` Bastien
2014-04-15 14:17 ` Greg Troxel [this message]
2014-04-15 14:50   ` Thorsten Jolitz
2014-04-15 15:12     ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rmilhv6y8wv.fsf@fnord.ir.bbn.com \
    --to=gdt@ir.bbn.com \
    --cc=b0ef@esben-stien.name \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).