[FUG-BR] VIM como VI
Carlos A. M. dos Santos
unixmania em gmail.com
Terça Outubro 23 22:50:55 BRST 2007
On 10/23/07, Alexandre Possebom <alexandrepossebom em gmail.com> wrote:
> Pessoal meu VIM está funcionando como o VI:
>
> instalei o VIM :
>
> cd /usr/ports/editors/vim
> make NO_GUI=yes install
>
> quando edito um arquivo ele se comporta como se fosse o VI, exemplo :
>
> vim /etc/fstab
>
> Quando dou um "i" ou "insert" pra entrar no modo de inserção, se dou tecla
> pra cima ele vai pra cima e aparece um "A" de brinde.
> Se dou um delete mesmo fora do modo inserção ele inverte a caixa do
> caractere de minúscula pra maiúscula ou vice-versa.
>
> Alguém sabe o porque disso ?
Isso é no console, em modo texto? O que tem nas tua variávei de
ambiente TERM e VIMINIT?
Eu constumo incluir no /etc/profile
VIMINIT='so /usr/local/etc/vimrc'; export VIMINIT
e no /etc/csh.login
setenv VIMINIT 'so /usr/local/etc/vimrc'
O meu vimrc segue abaixo. Para extrair, salva esta mensagem (ou apenas
o trecho abaixo) no arquivo "vimrc.gz.base64" e executa o comando
b64decode -p < vimrc.gz.base64 | gzip -d > vimrc
--
Carlos A. M. dos Santos
begin-base64 644 vimrc.gz
H4sIAHvYj0YAA41Y/1LbSBL+G56iUe1hYIVJyKWy8dnUgkk2qUpW2UCSq0tSZCyNbR2SRivJGFKp
vOw9wr3Afd0zsi1b5JYCY7W6e/rnzNfj0WlG+laleaJpbApSdBOnRUjjONHdbW/bo9cqzir86aK3
dVaolF4bk+hMqYL6/PwrBLqmmJyA95UqKwqnKpvo3tbDp0+fUhBWdPxEFF0ampWa4sqn0OR3+EKV
AZ1/eOl3WXxLKosouDg67hF9P+qKLY6l/mHW0zSeKLCUvSUL019fHJ4HF6LkQ5w9Yi0/vX/5+tOV
5QLbO1jwPk6p1FUVZ5PSp0JVU10QPjK8WbygvXQWTmmER13s7HfZgWlcUjqDiyMEKy5KeDLSobJe
Ob9LMqLP5FVsspIUfqmMI016PNZh1d3GCpSZ0KS5quJRooWQG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