logo
file I/O
  • autoread

    autom. read file when changed outside of Vim

  • autowrite

    automatically write file if changed

  • autowriteall

    as 'autowrite', but works with more commands

backup
  • backup

    keep backup file after overwriting a file

  • backupcopy

    make backup as a copy, don't rename the file

    auto

  • backupdir

    list of directories for the backup file

    .,~/tmp,~/

  • backupext

    extension used for the backup file

    ~

  • backupskip

    no backup for files that match these patterns

    /tmp/*,$TMPDIR/*,$TMP/*,$TEMP/*

swap
  • directory

    list of directory names for the swap file

  • swapfile

    whether to use a swapfile for a buffer

  • updatecount

    after this many characters flush swap file

    200

  • updatetime

    after this many milliseconds flush swap file

    4000