[Gllug] bash / go to beginning of line

tet at accucard.com tet at accucard.com
Tue Feb 19 11:26:47 UTC 2002


>In bash I'm used to pressing "Home" to get to the beginning of the line.
>On my Debian server this doesn't seem to work but gives me some other
>characters (I think ^$ or something).

You're in vi mode. At the bash prompt, type:

	set -o emacs

to switch to emacs mode, which will give you the key mappings you're
used to. You can make this change permanent by adding the line:

	set editing-mode emacs

to your $HOME/.inputrc file.


#ifndef ASBESTOS_SUIT
#define ASBESTOS_SUIT

Alternatively, you could learn to use vi keymappings, as the gods
intended, for as all should know by now, vi is the one true way :-)

#endif /* ASBESTOS_SUIT */

Tet

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list