Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
リモートサーバー上のプロジェクトで作業しています。サーバーにスワップファイルを置きたくありません。Vim (そしてもちろん gVim) のすべてのスワップ ファイルを指定したディレクトリに保存したいと考えています。どうすればそれができますか?
また、backupdir オプションの設定を検討することもできます。
set backupdir=Z:\backups
これにより、vim は現在のディレクトリではなく特定の場所にバックアップを保存します。