From: Simon Ruderich Date: Sat, 18 Jun 2016 12:48:14 +0000 (+0200) Subject: vimrc: set noshelltemp X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=7b893ef84922a2ef2c2355b9c8b58d43ea5dc07e;p=config%2Fdotfiles.git vimrc: set noshelltemp --- diff --git a/vimrc b/vimrc index 49ccdfe..25688a6 100644 --- 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