GVIM on windows: way to disable the tmp file creation

前端 未结 5 2139
悲哀的现实
悲哀的现实 2021-02-01 02:47

I use gvim on windows and I want to know a way to disable the temp file(ending in ~) file creation. Also is there a problem if we do it?

5条回答
  •  说谎
    说谎 (楼主)
    2021-02-01 03:29

    From inside vim:

    :e $HOME/_vimrc
    

    and add this to the file:

    set nobackup
    

    Then, $HOME/_vimrc~ will hopefully be the last backup that vim makes!

提交回复
热议问题