aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 4d32cd7..e3e94bb 100644
--- a/vimrc
+++ b/vimrc
@@ -266,6 +266,9 @@
" * Add <leader>p mapping to read from the OS X pasteboard. Much faster
" than pasting directly if you're dealing with a lot of text.
"
+" 2015.01.06:
+" * Set backupcopy=yes to preserve creation dates of files.
+"
" Pathogen
@@ -322,6 +325,9 @@ set backupdir=~/.vim/backup/backup//
set directory=~/.vim/backup/swap//
set undodir=~/.vim/backup/undo//
+" Preserve file attributes, like creation date
+set backupcopy=yes
+
" Disable all default ftplugins
" http://vim.wikia.com/wiki/File_type_plugins#Disabling_default_ftplugins
" http://stackoverflow.com/questions/11337129/setting-buffer-specific-variables-in-vim#comment14956146_11351393