Hello!

I have a problem where Vim seems to create a whole lot of empty 4 digit
named files in the directory where I'm editing files. This is not
necessarily the working directory of Vim. This might be a problem with a
third party add-on. I'm not too experienced with Vim beyond simple use.

The add-ons I use are "minibufexpl" and the "wombat" color scheme.

For the record, I'm using the same add-ons on two Ubuntu machines, which I
also use regularly, and those do not seem to exhibit the same problem.

Here's a directory listing of a directory I've worked in for about 4 hours,
and my vimrc file under "%programfiles(x86)%\vim\".

Any insights as to what may be causing this, and how to fix it?

08.07.2010  08:46    <DIR>          .
08.07.2010  08:46    <DIR>          ..
07.07.2010  13:50                 0 4913
07.07.2010  14:14                 0 5036
07.07.2010  16:37                 0 5159
07.07.2010  16:37                 0 5282
07.07.2010  16:58                 0 5405
07.07.2010  16:58                 0 5528
07.07.2010  17:02                 0 5651
07.07.2010  17:02                 0 5774
07.07.2010  17:02                 0 5897
07.07.2010  17:12                 0 6020
07.07.2010  17:12                 0 6143
07.07.2010  17:12                 0 6266
07.07.2010  17:22                 0 6389
07.07.2010  17:40                 0 6512
07.07.2010  17:40                 0 6635
07.07.2010  17:41                 0 6758
07.07.2010  17:42                 0 6881
07.07.2010  17:45                 0 7004
07.07.2010  17:48                 0 7127
07.07.2010  17:52                 0 7250
07.07.2010  18:10                 0 7373
07.07.2010  18:13                 0 7496
07.07.2010  18:16                 0 7619
07.07.2010  18:32                 0 7742
07.07.2010  18:33                 0 7865
07.07.2010  18:35                 0 7988
07.07.2010  18:36                 0 8111
07.07.2010  18:38                 0 8234
07.07.2010  18:38                 0 8357
07.07.2010  18:53                 0 8480
07.07.2010  18:57                 0 8603
07.07.2010  18:57                 0 8726
07.07.2010  19:04                 0 8849
07.07.2010  19:05                 0 8972
07.07.2010  19:05                 0 9095
07.07.2010  19:17                 0 9218
07.07.2010  19:22                 0 9341
07.07.2010  19:36               798 cmdmon.py
07.07.2010  19:36               798 models.py
07.07.2010  19:17             1 881 models.pyc
07.07.2010  19:20             1 215 snmpwrapper.py
07.07.2010  19:21             1 862 snmpwrapper.pyc
07.07.2010  19:20             3 168 test.py
07.07.2010  12:52               537 tests.py
07.07.2010  19:25             2 355 updatedb.py
07.07.2010  12:52                27 views.py
07.07.2010  12:52                 0 __init__.py
07.07.2010  13:37               154 __init__.pyc
              48 File(s)         12 795 bytes
               2 Dir(s)  184 033 157 120 bytes free




set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin

set diffexpr=MyDiff()
function MyDiff()
  let opt = '-a --binary '
  if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif
  if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif
  let arg1 = v:fname_in
  if arg1 =~ ' ' | let arg1 = '"' . arg1 . '"' | endif
  let arg2 = v:fname_new
  if arg2 =~ ' ' | let arg2 = '"' . arg2 . '"' | endif
  let arg3 = v:fname_out
  if arg3 =~ ' ' | let arg3 = '"' . arg3 . '"' | endif
  let eq = ''
  if $VIMRUNTIME =~ ' '
    if &sh =~ '\<cmd'
      let cmd = '""' . $VIMRUNTIME . '\diff"'
      let eq = '"'
    else
      let cmd = substitute($VIMRUNTIME, ' ', '" ', '') . '\diff"'
    endif
  else
    let cmd = $VIMRUNTIME . '\diff'
  endif
  silent execute '!' . cmd . ' ' . opt . arg1 . ' ' . arg2 . ' > ' . arg3 .
eq
endfunction

let g:miniBufExplMapWindowNavVim = 1
let g:miniBufExplMapWindowNavArrows = 1
let g:miniBufExplMapCTabSwitchBufs = 1
let g:miniBufExplModSelTarget = 1
let g:miniBufExplSplitBelow = 1

set sw=4
set ts=4
set smarttab
set expandtab

set guioptions-=T

set backupdir=%temp%\vimbackup
set noswapfile
set nowritebackup

set number
set gfn=consolas

colors wombat

-- 
View this message in context: 
http://old.nabble.com/Vim-creates-emtpy-4-digit-named-files-on-use-%28Win32%29-tp29100225p29100225.html
Sent from the Vim - General mailing list archive at Nabble.com.

-- 
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