From 966553b8a41bec71afb7f2619c04055e971bbf1d Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Sun, 23 Jun 2013 17:27:51 +0200 Subject: [PATCH] Use https links where possible I've gone through the entire repository, checking all http:// links to see if the corresponding https urls would also work. This is especially important when asking the user to run a script they fetched via curl, because in the case of a mitm they will have no way at all to detect that something malicious is going on. --- .gitmodules | 2 +- README.markdown | 54 ++++++++++++++++---------------- bootstrap.sh | 4 +-- spf13-vim-windows-xp-install.cmd | 2 +- 4 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.gitmodules b/.gitmodules index a9f59fc..723c8be 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule ".vim/vundle.git"] path = .vim/vundle.git - url = http://github.com/gmarik/vundle.git + url = https://github.com/gmarik/vundle.git diff --git a/README.markdown b/README.markdown index 908e43c..4680c28 100644 --- a/README.markdown +++ b/README.markdown @@ -36,17 +36,17 @@ The goal has always been to add functionality without changing all the features, ## Linux, \*nix, Mac OSX Installation -The easiest way to install spf13-vim is to use our [automatic installer](http://j.mp/spf13-vim3) by simply copying and pasting the following line into a terminal. This will install spf13-vim and backup your existing vim configuration. If you are upgrading from a prior version (before 3.0) this is also the recommended installation. +The easiest way to install spf13-vim is to use our [automatic installer](https://j.mp/spf13-vim3) by simply copying and pasting the following line into a terminal. This will install spf13-vim and backup your existing vim configuration. If you are upgrading from a prior version (before 3.0) this is also the recommended installation. ```bash - curl http://j.mp/spf13-vim3 -L > spf13-vim.sh && sh spf13-vim.sh + curl https://j.mp/spf13-vim3 -L > spf13-vim.sh && sh spf13-vim.sh ``` If you have a bash-compatible shell you can run the script directly: ```bash - sh <(curl http://j.mp/spf13-vim3 -L) + sh <(curl https://j.mp/spf13-vim3 -L) ``` ## Installing on Windows @@ -101,7 +101,7 @@ The simpliest (and safest) way to update is to simply rerun the installer. It wi ```bash - curl http://j.mp/spf13-vim3 -L -o - | sh + curl https://j.mp/spf13-vim3 -L -o - | sh ``` @@ -411,7 +411,7 @@ Terminal emulator colorschemes: ## Snippets -It also contains a very complete set of [snippets](http://github.com/spf13/vim-snippets) for use with snipmate or [NeoComplCache]. +It also contains a very complete set of [snippets](https://github.com/spf13/vim-snippets) for use with snipmate or [NeoComplCache]. # Intro to VIM @@ -422,7 +422,7 @@ Here's some tips if you've never used VIM before: * Type `vimtutor` into a shell to go through a brief interactive tutorial inside VIM. -* Read the slides at [VIM: Walking Without Crutches](http://walking-without-crutches.heroku.com/#1). +* Read the slides at [VIM: Walking Without Crutches](https://walking-without-crutches.heroku.com/#1). ## Modes @@ -438,7 +438,7 @@ Here's some tips if you've never used VIM before: * Certain commands are prefixed with a `` key, which by default maps to `\`. Spf13-vim uses `let mapleader = ","` to change this to `,` which is in a consistent and convenient location. -* Keyboard [cheat sheet](http://walking-without-crutches.heroku.com/image/images/vi-vim-cheat-sheet.png). +* Keyboard [cheat sheet](https://walking-without-crutches.heroku.com/image/images/vi-vim-cheat-sheet.png). [Git]:http://git-scm.com [Curl]:http://curl.haxx.se @@ -448,28 +448,28 @@ Here's some tips if you've never used VIM before: [spf13-vim]:https://github.com/spf13/spf13-vim [contributors]:https://github.com/spf13/spf13-vim/contributors -[Vundle]:http://github.com/gmarik/vundle -[PIV]:http://github.com/spf13/PIV -[NERDCommenter]:http://github.com/scrooloose/nerdcommenter +[Vundle]:https://github.com/gmarik/vundle +[PIV]:https://github.com/spf13/PIV +[NERDCommenter]:https://github.com/scrooloose/nerdcommenter [Undotree]:https://github.com/mbbill/undotree -[NERDTree]:http://github.com/scrooloose/nerdtree -[ctrlp]:http://github.com/kien/ctrlp.vim -[solarized]:http://github.com/altercation/vim-colors-solarized -[neocomplcache]:http://github.com/shougo/neocomplcache -[Fugitive]:http://github.com/tpope/vim-fugitive +[NERDTree]:https://github.com/scrooloose/nerdtree +[ctrlp]:https://github.com/kien/ctrlp.vim +[solarized]:https://github.com/altercation/vim-colors-solarized +[neocomplcache]:https://github.com/shougo/neocomplcache +[Fugitive]:https://github.com/tpope/vim-fugitive [Surround]:https://github.com/tpope/vim-surround -[Tagbar]:http://github.com/majutsushi/tagbar -[Syntastic]:http://github.com/scrooloose/syntastic -[vim-easymotion]:http://github.com/Lokaltog/vim-easymotion +[Tagbar]:https://github.com/majutsushi/tagbar +[Syntastic]:https://github.com/scrooloose/syntastic +[vim-easymotion]:https://github.com/Lokaltog/vim-easymotion [Matchit]:http://www.vim.org/scripts/script.php?script_id=39 -[Tabularize]:http://github.com/godlygeek/tabular +[Tabularize]:https://github.com/godlygeek/tabular [EasyMotion]:https://github.com/Lokaltog/vim-easymotion -[spf13-vim-img]:http://i.imgur.com/UKToY.png -[spf13-vimrc-img]:http://i.imgur.com/kZWj1.png -[autocomplete-img]:http://i.imgur.com/90Gg7.png -[tagbar-img]:http://i.imgur.com/cjbrC.png -[fugitive-img]:http://i.imgur.com/4NrxV.png -[nerdtree-img]:http://i.imgur.com/9xIfu.png -[phpmanual-img]:http://i.imgur.com/c0GGP.png -[easymotion-img]:http://i.imgur.com/ZsrVL.png +[spf13-vim-img]:https://i.imgur.com/UKToY.png +[spf13-vimrc-img]:https://i.imgur.com/kZWj1.png +[autocomplete-img]:https://i.imgur.com/90Gg7.png +[tagbar-img]:https://i.imgur.com/cjbrC.png +[fugitive-img]:https://i.imgur.com/4NrxV.png +[nerdtree-img]:https://i.imgur.com/9xIfu.png +[phpmanual-img]:https://i.imgur.com/c0GGP.png +[easymotion-img]:https://i.imgur.com/ZsrVL.png diff --git a/bootstrap.sh b/bootstrap.sh index 1365725..8c6c9da 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -31,7 +31,7 @@ branch="3.0" if [ ! -e $endpath/.git ]; then endpath="$HOME/.spf13-vim-3" echo "cloning spf13-vim" - git clone --recursive -b $branch http://github.com/spf13/spf13-vim.git $endpath + git clone --recursive -b $branch https://github.com/spf13/spf13-vim.git $endpath else echo "updating spf13-vim" cd $endpath && git pull origin $branch @@ -50,7 +50,7 @@ fi if [ ! -e $HOME/.vim/bundle/vundle ]; then echo "Installing Vundle" - git clone http://github.com/gmarik/vundle.git $HOME/.vim/bundle/vundle + git clone https://github.com/gmarik/vundle.git $HOME/.vim/bundle/vundle fi echo "update/install plugins using Vundle" diff --git a/spf13-vim-windows-xp-install.cmd b/spf13-vim-windows-xp-install.cmd index 343b051..44ab64e 100644 --- a/spf13-vim-windows-xp-install.cmd +++ b/spf13-vim-windows-xp-install.cmd @@ -28,5 +28,5 @@ call copy "%BASE_DIR%\.vimrc" "%HOME%\.vimrc" call copy "%BASE_DIR%\.vimrc" "%HOME%\_vimrc" call copy "%BASE_DIR%\.vimrc.bundles" "%HOME%\.vimrc.bundles" -@if not exist "%HOME%/.vim/bundle/vundle" call git clone http://github.com/gmarik/vundle.git "%HOME%/.vim/bundle/vundle" +@if not exist "%HOME%/.vim/bundle/vundle" call git clone https://github.com/gmarik/vundle.git "%HOME%/.vim/bundle/vundle" call vim -u "%BASE_DIR%/.vimrc.bundles" - +BundleInstall! +BundleClean +qall