sponsor Vim development Vim logo Vim Book Ad

ro-when-swapfound : Open Vim in read-only mode when swapfile is found.

 script karma  Rating 0/0, Downloaded by 648  Comments, bugs, improvements  Vim wiki

created by
omi taku
script type
Open Vim in read-only mode when swapfile is found.

Avoid to display attention dialog,
and open Vim in read-only mode when swapfile is found.

If you want to fix swapfile, and want to display attention dialog,
you do this.


See also
Open same file read-only in second Vim
install details
1. copy files to your .vim or vimfiles direcory.
2. helptags to your .vim/doc or vimfiles/doc direcory.

    :helptags $HOME/.vim/doc


    :helptags $HOME/vimfiles/doc


rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-ro-when-swapfound.zip 1.0.1 2011-05-01 7.0 omi taku add vim help.
add ToggleSwapCheck command.
vim-ro-when-swapfound.zip 1.0 2011-05-01 7.0 omi taku Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
OSDN.net Logo