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

teclas de atalho crtl+* no bash



Pedro,

 >    Onde posso encontrar um manual com todas teclas de atalhos do bash, e
 > outros shells?
Por padrao, o bash (shell padrao do Debian) usa as teclas de atalho do
Emacs, porem, se voce eh usuario VI(M) voce pode alterar essas
configuracoes atraves do arquivo /etc/inputrc jah que o bash utiliza a
biblioteca Readline.

Para alterar a combinacao de teclas para as do VI, coloque:
	'set editing-mode (vi)' 
no seu arquivo /etc/inputrc. Eu utilizo Emacs, entao nao fiz essa
alteracao, mas o resultado final do arquivo poderia ser:

,----[ inputrc ]
| # /etc/inputrc - global inputrc for libreadline
| # See readline(3readline) and `info rluserman' for more information.
| 
| # Be 8 bit clean.
| set input-meta on
| set output-meta on
| 
| # To allow the use of 8bit-characters like the german umlauts, comment out
| # the line below. However this makes the meta key not work as a meta key,
| # which is annoying to those which don't need to type in 8-bit characters.
| 
| #set convert-meta off
|
| #Troca para modo VI(M)
| set editing-mode (vi)
`----

Para referencia da combinacao de teclas, voce pode olhar o cartao de
referencia em '/usr/share/doc/emacs20/etc/refcard.ps'.

Espero de sido util, e qualquer coisa, entre em contato.

[]s
Otavio

-- 
  O T A V I O    R E A L    S A L V A D O R
---------------------------------------------
 E-mail: otavio@freedom.ind.br  UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------

 



Reply to: