1

I had difficulties in using UltiSnips, so I fear I installed it multiple times with different plugin managers. At the moment tree -d in .vim folder gives the following result, showing that I definitely dirtied the .vim folder, disseminating the same plugin all around (<------------- on lines where the string snip appears).

.
├── after
│   └── indent
├── bundle
│   ├── L9
│   │   ├── autoload
│   │   │   └── l9
│   │   ├── doc
│   │   └── plugin
│   ├── ultisnips <-----------------------------------------------
│   │   ├── after
│   │   │   └── plugin
│   │   ├── autoload
│   │   │   ├── neocomplete
│   │   │   │   └── sources
│   │   │   ├── UltiSnips <-----------------------------------------------
│   │   │   └── unite
│   │   │       └── sources
│   │   ├── ctags
│   │   ├── doc
│   │   │   └── examples
│   │   │       ├── autojump-if-empty
│   │   │       ├── snippets-aliasing <-----------------------------------------------
│   │   │       └── tabstop-generation
│   │   ├── ftdetect
│   │   ├── ftplugin
│   │   ├── plugin
│   │   ├── pythonx
│   │   │   └── UltiSnips <-----------------------------------------------
│   │   │       ├── snippet <-----------------------------------------------
│   │   │       │   ├── definition
│   │   │       │   ├── parsing
│   │   │       │   └── source
│   │   │       │       └── file
│   │   │       └── text_objects
│   │   ├── rplugin
│   │   │   └── python3
│   │   │       └── deoplete
│   │   │           └── sources
│   │   ├── syntax
│   │   ├── test
│   │   └── utils
│   ├── UltiSnips <-----------------------------------------------
│   │   ├── after
│   │   │   └── plugin
│   │   ├── autoload
│   │   │   ├── neocomplete
│   │   │   │   └── sources
│   │   │   ├── UltiSnips <-----------------------------------------------
│   │   │   └── unite
│   │   │       └── sources
│   │   ├── ctags
│   │   ├── doc
│   │   ├── ftdetect
│   │   ├── ftplugin
│   │   ├── plugin
│   │   ├── pythonx
│   │   │   └── UltiSnips <-----------------------------------------------
│   │   │       ├── snippet <-----------------------------------------------
│   │   │       │   ├── definition
│   │   │       │   ├── parsing
│   │   │       │   └── source
│   │   │       │       └── file
│   │   │       └── text_objects
│   │   ├── rplugin
│   │   │   └── python3
│   │   │       └── deoplete
│   │   │           └── sources
│   │   ├── syntax
│   │   ├── test
│   │   └── utils
│   ├── vim-fugitive
│   │   ├── doc
│   │   └── plugin
│   ├── vim-latex
│   │   ├── compiler
│   │   ├── doc
│   │   │   └── db2vim
│   │   ├── ftplugin
│   │   │   └── latex-suite
│   │   │       ├── dictionaries
│   │   │       ├── macros
│   │   │       ├── packages
│   │   │       └── templates
│   │   ├── indent
│   │   └── plugin
│   ├── vim-snippets <-----------------------------------------------
│   │   ├── autoload
│   │   ├── plugin
│   │   ├── pythonx
│   │   ├── snippets <-----------------------------------------------
│   │   │   ├── coffee
│   │   │   └── javascript
│   │   ├── UltiSnips <-----------------------------------------------
│   │   └── vim-snippets <-----------------------------------------------
│   │       ├── autoload
│   │       ├── plugin
│   │       ├── pythonx
│   │       ├── snippets <-----------------------------------------------
│   │       │   ├── coffee
│   │       │   └── javascript
│   │       └── UltiSnips <-----------------------------------------------
│   └── Vundle.vim
│       ├── autoload
│       │   └── vundle
│       ├── doc
│       ├── ftplugin
│       ├── syntax
│       └── test
│           └── files
├── colors
├── compiler
├── doc
│   └── db2vim
├── ftdetect
├── ftplugin
│   └── latex-suite
│       ├── dictionaries
│       ├── macros
│       ├── packages
│       └── templates
├── indent
├── plugin
├── syntax
└── ultisnips_rep <-----------------------------------------------
    ├── after
    │   └── plugin
    ├── autoload
    │   ├── neocomplete
    │   │   └── sources
    │   ├── UltiSnips <-----------------------------------------------
    │   └── unite
    │       └── sources
    ├── ctags
    ├── doc
    │   └── examples
    │       ├── autojump-if-empty
    │       ├── snippets-aliasing <-----------------------------------------------
    │       └── tabstop-generation
    ├── ftdetect
    ├── ftplugin
    ├── plugin
    ├── pythonx
    │   └── UltiSnips <-----------------------------------------------
    │       ├── snippet <-----------------------------------------------
    │       │   ├── definition
    │       │   ├── parsing
    │       │   └── source
    │       │       └── file
    │       └── text_objects
    ├── rplugin
    │   └── python3
    │       └── deoplete
    │           └── sources
    ├── syntax
    ├── test
    └── utils
  • What plugin manager(s) do you still have installed? If you still have them installed you could just do :PlugClean or the equivalent with each one. – DJMcMayhem Jul 19 '16 at 21:14
  • 1
    Do you mean that each of them can remove the others? (In particular by entering :PluginClean, Vuldle would remove the others?) – Enrico Maria De Angelis Jul 19 '16 at 21:16
  • I'm not positive (since I've not tried installing multiple plugin managers) but I would imagine :PluginClean would remove non-vundle plugins. I can't say for sure. – DJMcMayhem Jul 19 '16 at 21:19
  • 1
    In my opinion you should follow these steps: First remove manually all the directories containing UltiSnips (from your terminal rm -r ~/.vim/bundle/ultisnips and so on for the other directories), then remove all the plugin managers you don't want to use (I've never tried it myself but I don't think that is a good idea to use several plugin manager at the same time), with the plugin manager you keep installed use the :PlugClean (or equivalent command): you'll get a clean state. You can then reinstall UltiSnips (and potentially vim-snippets if you want preinstalled snippets) – statox Jul 20 '16 at 7:28
  • Perfect. Could you post the answer, so that I can accept it? – Enrico Maria De Angelis Jul 20 '16 at 21:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.