From 80e497e2682f697f9915506de744e71a27378491 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 1 Mar 2024 22:24:29 -0500 Subject: [PATCH] Don't make our own swap folder anymore as the neovim default is sane --- vim/config/settings.vim | 7 ------- 1 file changed, 7 deletions(-) diff --git a/vim/config/settings.vim b/vim/config/settings.vim index 28c61f1..2e62cec 100644 --- a/vim/config/settings.vim +++ b/vim/config/settings.vim @@ -104,13 +104,6 @@ set ttimeout ttimeoutlen=100 "how long before timing out for terminal key codes set nomodeline "disable the use of file-based modelines as these are insecure - "create ~/.vim/swap if necessary, then use as default swap file location - if exists('*mkdir') && !isdirectory($HOME.'/.vim/swap') - call mkdir($HOME.'/.vim/swap','p') - endif - - set directory=$HOME/.vim/swap,.,/var/tmp,/tmp - "FUNCTIONS: {{{ "enable the auto-creation of missing folders in a save path if !exists('*s:MakeNewDir')