Hi,

Each time that I open a new vimfile of my own or another existing one,
the saving action (:w!) takes more and more time after each new saving
command.

I suppose it comes from autocommand written in my _vimrc.
Thank you for helping,
Let see:

" Only do this part when compiled with support for autocommands. {{{1
if has("autocmd")
    autocmd bufwritepost ~/_vimrc source $MYVIMRC
    autocmd bufwritepost ~/vimfiles/plugin/utilsNiva.vim source ~/
vimfiles/plugin/utilsNiva.vim
    autocmd bufwritepost ~/vimfiles/plugin/ren.vim source ~/vimfiles/
plugin/ren.vim
        autocmd BufNewFile,BufRead,BufWrite,FileType c,cpp set fdm=marker
        " Enable file type detection.
        " Use the default filetype settings, so that mail gets 'tw' set to
72,
        " 'cindent' is on in C files, etc.
        " Also load indent files, to automatically do language-dependent
indenting.
        filetype plugin indent on
        " Put these in an autocmd group, so that we can delete them easily.
        augroup vimrcEx
                au!
                " For all text files set 'textwidth' to 78 characters.
                autocmd FileType text setlocal textwidth=90
                " When editing a file, always jump to the last known cursor
position.
                " Don't do it when the position is invalid or when inside an 
event
handler
                " (happens when dropping a file on gvim).
                autocmd BufReadPost *
                                        \ if line("'\"") > 0 && line("'\"") <= 
line("$") |
                                        \   exe "normal! g`\"" |
                                        \ endif
        augroup END
else
endif " has("autocmd")

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to