Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

nicer install / update resistant: #42

Open
Reiner030 opened this issue Nov 12, 2015 · 1 comment
Open

nicer install / update resistant: #42

Reiner030 opened this issue Nov 12, 2015 · 1 comment

Comments

@Reiner030
Copy link

It would be a little more useful if e.g. after:

cd ~/.vim/
git clone https://github.com/saltstack/salt-vim.git

symlinks are created for config files instead of copies:

cd salt-vim
ls */* | xargs -I{} ln -s ../salt-vim/{} ../{}

Or manual way:

ln -s ../salt-vim/ftdetect/sls.vim ~/.vim/ftdetect/sls.vim
ln -s ../salt-vim/ftplugin/sls.vim ~/.vim/ftplugin/sls.vim
ln -s ../salt-vim/syntax/sls.vim ~/.vim/syntax/sls.vim

Bests

@basepi
Copy link
Contributor

basepi commented Nov 13, 2015

The best way, IMO, is to use pathogen to manage your plugins so you don't have to copy the files. You just clone the repo into your bundle directory and vim will find the files there.

That said, if you wanted to add some manual instructions for linking into the readme, we'd accept such a pull request.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants