« get me outta code hell

vim: disable backups - dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
path: root/.vimrc
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-05-10 19:46:04 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-10 19:46:40 -0300
commit8c6caacb4e8f5989c1863575f7a4af64d251f50f (patch)
tree788042f0803c87e33156f52c13a1d31ccc149596 /.vimrc
parent33b1282d8e48f988f57469f60694936e6b83d39d (diff)
vim: disable backups
Diffstat (limited to '.vimrc')
-rwxr-xr-x.vimrc16
1 files changed, 8 insertions, 8 deletions
diff --git a/.vimrc b/.vimrc
index 136f313..9c87781 100755
--- a/.vimrc
+++ b/.vimrc
@@ -83,14 +83,14 @@ endfun
 autocmd BufReadPost * silent! normal! :call RestoreScrollPosition()
 
 " spooky vim backups stolen from official example config
-if has("vms")
-  set nobackup    " do not keep a backup file, use versions instead
-else
-  set backup      " keep a backup file (restore to previous version)
-  if has('persistent_undo')
-    set undofile  " keep an undo file (undo changes after closing)
-  endif
-endif
+" if has("vms")
+"   set nobackup    " do not keep a backup file, use versions instead
+" else
+"   set backup      " keep a backup file (restore to previous version)
+"   if has('persistent_undo')
+"     set undofile  " keep an undo file (undo changes after closing)
+"   endif
+" endif
 
 " disable default language-specific indentation behavior
 " (this doesn't actually work as an autocmd, instead copy-paste