You are not logged in.

#1 2018-03-06 05:41:59

gauthma
Member
Registered: 2010-02-16
Posts: 222
Website

[Solved] The ~/.vim/swap folder that just won't die

Regardless of what I do, I always end up with a `swap` folder inside my `~/.vim/` directory. If I `rmdir` it, and then start `vim`, there it automagically pops up again.

I have eliminated all the possible culprits I could think of: in fact, even if I start with a clean config (removing `.vim` and `.vimrc`), this still happens. It also happens in root mode, with a clean config.

But this does not happen in Debian! (it is the only other distro I tried so far). So I am thinking it might have something to do with the default config shipped by Arch. I also had a look at those files, but nothing stood out.

So... anyone has a clue?

Cheers! (and thanks)

Last edited by gauthma (2018-03-06 09:09:45)

Offline

#2 2018-03-06 05:54:16

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] The ~/.vim/swap folder that just won't die


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-03-06 05:54:34

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [Solved] The ~/.vim/swap folder that just won't die

Offline

#4 2018-03-06 06:21:11

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [Solved] The ~/.vim/swap folder that just won't die


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#5 2018-03-06 09:09:26

gauthma
Member
Registered: 2010-02-16
Posts: 222
Website

Re: [Solved] The ~/.vim/swap folder that just won't die

I had actually checked `/etc/vimrc`but alas, not `/usr/share/vim/vimfiles/archlinux.vim`. Anyway, the reason why this annoyed me so much is the same as mentioned in ticket 57682: it needlessly clutters `~/.vim`. But oh well, I guess I have the answer to my question. Thank you so much!

Offline

Board footer

Powered by FluxBB