]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vimrc
vimrc: set noshelltemp
[config/dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index 49ccdfe41a784401b41b709f8a116455cecf710e..25688a68e958f2f260baac797ec7d5e02be92daf 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -1,6 +1,6 @@
 " Vim main configuration file.
 
-" Copyright (C) 2008-2013  Simon Ruderich
+" Copyright (C) 2008-2016  Simon Ruderich
 "
 " This file is free software: you can redistribute it and/or modify
 " it under the terms of the GNU General Public License as published by
@@ -46,6 +46,11 @@ set nocompatible
 " precaution just in case somebody enables 'exrc'.
 set secure
 
+" Try to use pipes instead of temporary files. Prevents some auto commands
+" from running for temporary files but also prevents the file's content to be
+" written to disk.
+set noshelltemp
+
 " Use UTF-8 for all internal data (buffers, registers, etc.). This doesn't
 " affect reading files in different encodings, see 'fileencodings' for that.
 set encoding=utf-8