* move to line beginning without 'Ctrl+A'
@ 2008-01-21 6:09 ilovemiami
2008-01-21 6:54 ` Ralf Angeli
` (5 more replies)
0 siblings, 6 replies; 14+ messages in thread
From: ilovemiami @ 2008-01-21 6:09 UTC (permalink / raw)
To: help-gnu-emacs
Is there anyway to move to line beginning without 'Ctrl+A'. I am using
'screen', the key binding 'Ctrl+A' is reserved by 'screen'.
Thanks in advance.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: move to line beginning without 'Ctrl+A'
2008-01-21 6:09 move to line beginning without 'Ctrl+A' ilovemiami
@ 2008-01-21 6:54 ` Ralf Angeli
2008-01-21 10:37 ` Xah Lee
` (4 subsequent siblings)
5 siblings, 0 replies; 14+ messages in thread
From: Ralf Angeli @ 2008-01-21 6:54 UTC (permalink / raw)
To: help-gnu-emacs
* ilovemiami (2008-01-21) writes:
> Is there anyway to move to line beginning without 'Ctrl+A'. I am using
> 'screen', the key binding 'Ctrl+A' is reserved by 'screen'.
C-a a
--
Ralf
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: move to line beginning without 'Ctrl+A'
2008-01-21 6:09 move to line beginning without 'Ctrl+A' ilovemiami
2008-01-21 6:54 ` Ralf Angeli
@ 2008-01-21 10:37 ` Xah Lee
2008-01-21 19:55 ` Oleg Katsitadze
` (3 subsequent siblings)
5 siblings, 0 replies; 14+ messages in thread
From: Xah Lee @ 2008-01-21 10:37 UTC (permalink / raw)
To: help-gnu-emacs
ilovemiami <zongju...@gmail.com> wrote:
「Is there anyway to move to line beginning without 'Ctrl+A'. I am
using 'screen', the key binding 'Ctrl+A' is reserved by 'screen'.」
you can use the Home key. Or, you can define your own. e.g.
(global-set-key (kbd "M-a") 'move-beginning-of-line)
see:
★ Defining Your Own Keyboard Shortcuts
http://xahlee.org/emacs/keyboard_shortcuts.html
★ A Ergonomic Keyboard Shortcut Layout
http://xahlee.org/emacs/ergonomic_emacs_keybinding.html
Xah
xah@xahlee.org
\xAD\xF4 http://xahlee.org/
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: move to line beginning without 'Ctrl+A'
2008-01-21 6:09 move to line beginning without 'Ctrl+A' ilovemiami
2008-01-21 6:54 ` Ralf Angeli
2008-01-21 10:37 ` Xah Lee
@ 2008-01-21 19:55 ` Oleg Katsitadze
[not found] ` <mailman.6371.1200945359.18990.help-gnu-emacs@gnu.org>
` (2 subsequent siblings)
5 siblings, 0 replies; 14+ messages in thread
From: Oleg Katsitadze @ 2008-01-21 19:55 UTC (permalink / raw)
To: ilovemiami; +Cc: help-gnu-emacs
On Sun, Jan 20, 2008 at 10:09:06PM -0800, ilovemiami wrote:
> Is there anyway to move to line beginning without 'Ctrl+A'. I am using
> 'screen', the key binding 'Ctrl+A' is reserved by 'screen'.
Some people like to change screen's command key instead. Good
candidates seem to be Z or ].
Cheers,
Oleg
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: move to line beginning without 'Ctrl+A'
[not found] ` <mailman.6371.1200945359.18990.help-gnu-emacs@gnu.org>
@ 2008-01-21 20:06 ` ilovemiami
2008-01-21 21:10 ` Bastien
` (2 more replies)
0 siblings, 3 replies; 14+ messages in thread
From: ilovemiami @ 2008-01-21 20:06 UTC (permalink / raw)
To: help-gnu-emacs
On Jan 21, 2:55 pm, Oleg Katsitadze <oleg...@gmail.com> wrote:
> On Sun, Jan 20, 2008 at 10:09:06PM -0800, ilovemiami wrote:
> > Is there anyway to move to line beginning without 'Ctrl+A'. I am using
> > 'screen', the key binding 'Ctrl+A' is reserved by 'screen'.
>
> Some people like to change screen's command key instead. Good
> candidates seem to be Z or ].
>
> Cheers,
> Oleg
Yes, that is a good option. I just switch screen command character to
'C-P'. It works!
Thanks everyone for help.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: move to line beginning without 'Ctrl+A'
2008-01-21 20:06 ` ilovemiami
@ 2008-01-21 21:10 ` Bastien
2008-01-22 1:20 ` Oleg Katsitadze
2008-01-21 21:56 ` Barry Margolin
[not found] ` <mailman.6375.1200949865.18990.help-gnu-emacs@gnu.org>
2 siblings, 1 reply; 14+ messages in thread
From: Bastien @ 2008-01-21 21:10 UTC (permalink / raw)
To: help-gnu-emacs
ilovemiami <zongjunhu@gmail.com> writes:
> On Jan 21, 2:55 pm, Oleg Katsitadze <oleg...@gmail.com> wrote:
>> On Sun, Jan 20, 2008 at 10:09:06PM -0800, ilovemiami wrote:
>> > Is there anyway to move to line beginning without 'Ctrl+A'. I am using
>> > 'screen', the key binding 'Ctrl+A' is reserved by 'screen'.
>>
>> Some people like to change screen's command key instead. Good
>> candidates seem to be Z or ].
>>
>> Cheers,
>> Oleg
>
> Yes, that is a good option. I just switch screen command character to
> 'C-P'. It works!
May I ask you what line in ~/.screenrc does that?
--
Bastien
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: move to line beginning without 'Ctrl+A'
2008-01-21 20:06 ` ilovemiami
2008-01-21 21:10 ` Bastien
@ 2008-01-21 21:56 ` Barry Margolin
2008-01-23 15:32 ` Stefan Monnier
[not found] ` <mailman.6375.1200949865.18990.help-gnu-emacs@gnu.org>
2 siblings, 1 reply; 14+ messages in thread
From: Barry Margolin @ 2008-01-21 21:56 UTC (permalink / raw)
To: help-gnu-emacs
In article
<7df997d8-6238-4111-87c3-a12ccd888fa4@i3g2000hsf.googlegroups.com>,
ilovemiami <zongjunhu@gmail.com> wrote:
> On Jan 21, 2:55 pm, Oleg Katsitadze <oleg...@gmail.com> wrote:
> > On Sun, Jan 20, 2008 at 10:09:06PM -0800, ilovemiami wrote:
> > > Is there anyway to move to line beginning without 'Ctrl+A'. I am using
> > > 'screen', the key binding 'Ctrl+A' is reserved by 'screen'.
> >
> > Some people like to change screen's command key instead. Good
> > candidates seem to be Z or ].
> >
> > Cheers,
> > Oleg
>
> Yes, that is a good option. I just switch screen command character to
> 'C-P'. It works!
I guess you must use arrow keys a lot, since that's the Emacs keybinding
to move to the previous line.
When I used screen on a regular basis, I used C-\ as its escape
character.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: move to line beginning without 'Ctrl+A'
2008-01-21 21:10 ` Bastien
@ 2008-01-22 1:20 ` Oleg Katsitadze
2008-01-22 1:30 ` Bastien
0 siblings, 1 reply; 14+ messages in thread
From: Oleg Katsitadze @ 2008-01-22 1:20 UTC (permalink / raw)
To: Bastien; +Cc: help-gnu-emacs
On Mon, Jan 21, 2008 at 09:10:55PM +0000, Bastien wrote:
> > Yes, that is a good option. I just switch screen command character to
> > 'C-P'. It works!
>
> May I ask you what line in ~/.screenrc does that?
I have this:
escape ^]]
which means C-] for the command key, C-] ] for the literal C-].
Cheers,
Oleg
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: move to line beginning without 'Ctrl+A'
2008-01-22 1:20 ` Oleg Katsitadze
@ 2008-01-22 1:30 ` Bastien
0 siblings, 0 replies; 14+ messages in thread
From: Bastien @ 2008-01-22 1:30 UTC (permalink / raw)
To: help-gnu-emacs
Oleg Katsitadze <olegkat@gmail.com> writes:
> On Mon, Jan 21, 2008 at 09:10:55PM +0000, Bastien wrote:
>> > Yes, that is a good option. I just switch screen command character to
>> > 'C-P'. It works!
>>
>> May I ask you what line in ~/.screenrc does that?
>
> I have this:
>
> escape ^]]
>
> which means C-] for the command key, C-] ] for the literal C-].
Thanks very much!
--
Bastien
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: move to line beginning without 'Ctrl+A'
[not found] ` <mailman.6375.1200949865.18990.help-gnu-emacs@gnu.org>
@ 2008-01-22 12:46 ` ilovemiami
0 siblings, 0 replies; 14+ messages in thread
From: ilovemiami @ 2008-01-22 12:46 UTC (permalink / raw)
To: help-gnu-emacs
escape ^Pp
Bastien wrote:
> ilovemiami <zongjunhu@gmail.com> writes:
>
> > On Jan 21, 2:55 pm, Oleg Katsitadze <oleg...@gmail.com> wrote:
> >> On Sun, Jan 20, 2008 at 10:09:06PM -0800, ilovemiami wrote:
> >> > Is there anyway to move to line beginning without 'Ctrl+A'. I am using
> >> > 'screen', the key binding 'Ctrl+A' is reserved by 'screen'.
> >>
> >> Some people like to change screen's command key instead. Good
> >> candidates seem to be Z or ].
> >>
> >> Cheers,
> >> Oleg
> >
> > Yes, that is a good option. I just switch screen command character to
> > 'C-P'. It works!
>
> May I ask you what line in ~/.screenrc does that?
>
> --
> Bastien
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: move to line beginning without 'Ctrl+A'
2008-01-21 6:09 move to line beginning without 'Ctrl+A' ilovemiami
` (3 preceding siblings ...)
[not found] ` <mailman.6371.1200945359.18990.help-gnu-emacs@gnu.org>
@ 2008-01-23 0:53 ` Edward
2008-01-23 9:03 ` Stefan Arentz
5 siblings, 0 replies; 14+ messages in thread
From: Edward @ 2008-01-23 0:53 UTC (permalink / raw)
To: help-gnu-emacs
ilovemiami wrote:
> Is there anyway to move to line beginning without 'Ctrl+A'. I am using
> 'screen', the key binding 'Ctrl+A' is reserved by 'screen'.
>
> Thanks in advance.
I hardly ever use C-a. Most of the time I use M-m.
Ref:
M-m runs the command back-to-indentation.
Move point to the first non-whitespace character on this line.
Edward
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: move to line beginning without 'Ctrl+A'
2008-01-21 6:09 move to line beginning without 'Ctrl+A' ilovemiami
` (4 preceding siblings ...)
2008-01-23 0:53 ` Edward
@ 2008-01-23 9:03 ` Stefan Arentz
5 siblings, 0 replies; 14+ messages in thread
From: Stefan Arentz @ 2008-01-23 9:03 UTC (permalink / raw)
To: help-gnu-emacs
ilovemiami <zongjunhu@gmail.com> writes:
> Is there anyway to move to line beginning without 'Ctrl+A'. I am using
> 'screen', the key binding 'Ctrl+A' is reserved by 'screen'.
I simply configured screen to use C-p as it's hotkey instead :-)
S.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: move to line beginning without 'Ctrl+A'
2008-01-21 21:56 ` Barry Margolin
@ 2008-01-23 15:32 ` Stefan Monnier
2008-01-24 4:33 ` Barry Margolin
0 siblings, 1 reply; 14+ messages in thread
From: Stefan Monnier @ 2008-01-23 15:32 UTC (permalink / raw)
To: help-gnu-emacs
> When I used screen on a regular basis, I used C-\ as its escape
> character.
That one's used for input-methods. I used to use C-^ for screen.
Stefan
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: move to line beginning without 'Ctrl+A'
2008-01-23 15:32 ` Stefan Monnier
@ 2008-01-24 4:33 ` Barry Margolin
0 siblings, 0 replies; 14+ messages in thread
From: Barry Margolin @ 2008-01-24 4:33 UTC (permalink / raw)
To: help-gnu-emacs
In article <jwv4pd4y2w6.fsf-monnier+gnu.emacs.help@gnu.org>,
Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> > When I used screen on a regular basis, I used C-\ as its escape
> > character.
>
> That one's used for input-methods. I used to use C-^ for screen.
I don't think input-methods existed yet when I was doing this....
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2008-01-24 4:33 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-21 6:09 move to line beginning without 'Ctrl+A' ilovemiami
2008-01-21 6:54 ` Ralf Angeli
2008-01-21 10:37 ` Xah Lee
2008-01-21 19:55 ` Oleg Katsitadze
[not found] ` <mailman.6371.1200945359.18990.help-gnu-emacs@gnu.org>
2008-01-21 20:06 ` ilovemiami
2008-01-21 21:10 ` Bastien
2008-01-22 1:20 ` Oleg Katsitadze
2008-01-22 1:30 ` Bastien
2008-01-21 21:56 ` Barry Margolin
2008-01-23 15:32 ` Stefan Monnier
2008-01-24 4:33 ` Barry Margolin
[not found] ` <mailman.6375.1200949865.18990.help-gnu-emacs@gnu.org>
2008-01-22 12:46 ` ilovemiami
2008-01-23 0:53 ` Edward
2008-01-23 9:03 ` Stefan Arentz
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.