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

Re: dica do vi ...



> 	Use o vim e digite:
> 	<Esc> : split
> 	depois digite
> 	<Ctrl> w seta para baixo (ou para cima) para alternar)
> 	para sair de um arquivo, digite:
> 	<Esc> : q

	Também pode usar "vim arquivo1 arquivo2".  Vc inicia editando o
arquivo1.  Quando termina, dá um ":w" para salvar e ":n" para editar o
seguinte.  Para voltar ao anterior, é só usar ":rew".

+-----------------------------------------------------------------------+
|                 Hélio Loureiro <helio@loureiro.eng.br>                |
|            Unix system administrator - Floripa Ilha Brasil            |
|                   FreeBSD,  Linux e OpenBSD wannabe                   |
+-----------------------------------------------------------------------+
|Just a reminder to all OpenBSD admin types that                        |
|        # rm -rf /usr/lib                                              |
|is not a very bright thing to do.  I don't know which was more amazing,|
|the things that kept running or the things that I couldn't start :-)   |
|                                Marco S Hyman <marc@snafu.org>         |
+-----------------------------------------------------------------------+



Reply to: