Loading ...
Sorry, an error occurred while loading the content.

[PATCH] shortmess_attention_readonly

Expand Messages
  • Tomas Styblo
    Hi. Here is a patch which adds a new flag R to the shortmess configuration option: R don t give the ATTENTION message when an existing swap file is
    Message 1 of 1 , Nov 24, 2002
    • 0 Attachment
      Hi.

      Here is a patch which adds a new flag 'R' to the "shortmess"
      configuration option:

      R don't give the "ATTENTION" message when an existing swap file
      is found. Open the file readonly.

      I find it useful because I am used to open source files in more
      windows at once when I try to understand the code. I know I could
      use the "-R" command line option, but it's not convenient when vim
      is started from a file manager or another application which uses
      it to open text files.

      These files were modified:

      runtime/doc/options.txt
      src/option.h
      src/memline.c


      --
      Tomas Styblo <tripie@...>
      PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC97EA4B6
      "People demand freedom of speech as a compensation for
      the freedom of thought which they seldom use." -Kierkegaard
    Your message has been successfully submitted and would be delivered to recipients shortly.