Article View: es.comp.os.linux.programacion
Article #13447Re: VI y tecla de inicio
From: Santiago Romero
Date: Sun, 25 Feb 2001 12:20
Date: Sun, 25 Feb 2001 12:20
94 lines
3487 bytes
3487 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
El Sat, 24 Feb 2001 11:01:17 -0300, Francisco F. Artese escribi�:
>O sea, si presiono inicio, el cursor se desplaza al inicio de la
>l�nea de texto, pero si presiono fin, lo que ocurre, es que cambia la
>letra min�scula por may�scula donde el cursor esta posicionado.
Usa la terminal de texto wterm (muy ligera!!) y ponte este .inputrc
en tu home, a mi me va de lujo:
set bell-style none
set meta-flag on
set output-meta on
set convert-meta off
#
# VI line editing
#
$if mode=vi
set editing-mode vi
set keymap vi
$endif
"\e[2~": yank
"\e[3~": delete-char
"\e[5~": previous-history
"\e[6~": next-history
"\e[C": forward-char
"\e[D": backward-char
"\e[A": previous-history
"\e[B": next-history
"\e[7~": beginning-of-line
"\e[8~": end-of-line
"\e[H": beginning-of-line
"\e[F": end-of-line
$if term=xterm
"\e[E": re-read-init-file
$else
"\e[G": re-read-init-file
$endif
"\C-?": backward-delete-char
"\C-H": backward-delete-char
"\e[H": beginning-of-line
"\e[F": end-of-line
# Home and End of application keypad and cursor of xterm
"\eOH": beginning-of-line
"\eOF": end-of-line
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\eOD": backward-char
"\eOC": forward-char
"\eOA": previous-history
"\eOB": next-history
"\eOE": re-read-init-file
# DEC keyboard KP_F1 - KP_F4
"\eOP": prefix-meta
"\eOQ": undo
"\eOR": ""
"\eOS": kill-line
$if term=xterm
"\eOo": "/"
"\eOj": "*"
"\eOm": "-"
"\eOk": "+"
"\eOl": "+"
"\eOM": accept-line
"\eOn": "."
# Numbers
"\eOp": "0"
"\eOq": "1"
"\eOr": "2"
"\eOs": "3"
"\eOt": "4"
"\eOu": "5"
"\eOv": "6"
"\eOw": "7"
"\eOx": "8"
"\eOy": "9"
$endif
- --
"HE instala el Windows 2000 y me va sin problemas." (Pinocho)
_O)
NoP / Compiler | compiler@escomposlinux.org - ICQ #98602813 /\\
Linux Debian 2.2 | http://escomposlinux.org/sromero - #74.821 \_V
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjqY+H8ACgkQx0J/i4MrH+d7QQCgiiyBRr7op3CuPUCHIvt3jZeD
GWwAoJ8dESLuOIhFWOAJjwyvNFKjWjDt
=QWx4
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<v9ta79.651.ln@127.0.0.1>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!va1-tp-2-u-0088.du.onolab.COM!not-for-mailReferences:
<dre879.3t.ln@artese.com.ar>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f86c8,1dda70f57be27571 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2001-02-25 04:32:04 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!va1-tp-2-u-0088.du.onolab.COM!not-for-mail From: sromero@escomposlinux.org (Santiago Romero) Newsgroups: es.comp.os.linux.programacion Subject: Re: VI y tecla de inicio Date: Sun, 25 Feb 2001 13:20:15 +0100 Lines: 94 Message-ID: <v9ta79.651.ln@127.0.0.1> References: <dre879.3t.ln@artese.com.ar> Reply-To: compiler@escomposlinux.org NNTP-Posting-Host: va1-tp-2-u-0088.du.onolab.com (62.42.45.89) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 983104253 25123678 62.42.45.89 (16 [39726]) User-Agent: slrn/0.9.6.2 (Linux)