Olá,

Tenta colocar essa configuracao dentro do seu .vimrc

" Configuration file for vim

set nocompatible        " Use Vim defaults instead of 100% vi compatibility
set backspace=indent,eol,start  " more powerful backspacing


set autoindent          " always set autoindenting on
set textwidth=0         " Don't wrap words by default
set nobackup            " Don't keep a backup file
set viminfo='20,\"50    " read/write a .viminfo file, don't store more than
                       " 50 lines of registers
set history=50          " keep 50 lines of command line history
set ruler               " show the cursor position all the time

set 
suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc


if &term =~ "xterm-debian" || &term =~ "xterm-xfree86"
 set t_Co=16
 set t_Sf=^[[3%dm
 set t_Sb=^[[4%dm
endif


vnoremap p <Esc>:let current_reg = @"<CR>gvdi<C-R>=current_reg<CR><Esc>


syntax on

set helpfile=$VIMRUNTIME/doc/help.txt.gz

if has("autocmd")
 " Enabled file type detection
 " Use the default filetype settings. If you also want to load indent files
 " to automatically do language-dependent indenting add 'indent' as well.
 filetype plugin on

endif " has ("autocmd")

" Some Debian-specific things
augroup filetype
 au BufRead reportbug.*                set ft=mail
au BufRead reportbug-*                set ft=mail
augroup END


Com essa configuracao, eu nao tenho problema.

Abraco,

Vinicius Carrion
[EMAIL PROTECTED]
--
GUS-BR - Grupo de Usuarios Slackware - BR
http://www.slackwarebrasil.org/
http://www.linuxmag.com.br/mailman/listinfo/slack-users

Responder a