1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 07:00:04 +08:00

Doc: Use HTTPS everywhere (#4020)

This commit is contained in:
Robin Schneider 2021-01-02 11:00:51 +01:00 committed by GitHub
parent b8f867c5c3
commit 29b3dcc45e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 28 additions and 28 deletions

View File

@ -31,7 +31,7 @@ let s:chars['bubble_num'] = function('s:bubble_num')
" 1: 1 ➛ ➀ " 1: 1 ➛ ➀
" 2: 1 ➛ ⓵ " 2: 1 ➛ ⓵
function! s:circled_num(num, type) abort function! s:circled_num(num, type) abort
" http://www.unicode.org/charts/beta/nameslist/n_2460.html " https://www.unicode.org/charts/beta/nameslist/n_2460.html
if a:type == 0 if a:type == 0
if a:num == 0 if a:num == 0
return nr2char(9471) return nr2char(9471)
@ -78,7 +78,7 @@ let s:chars['index_num'] = function('s:index_num')
function! s:parenthesized_num(num) abort function! s:parenthesized_num(num) abort
" http://www.unicode.org/charts/beta/nameslist/n_2460.html " https://www.unicode.org/charts/beta/nameslist/n_2460.html
if index(range(1, 20), a:num) != -1 if index(range(1, 20), a:num) != -1
return nr2char(9331 + a:num) return nr2char(9331 + a:num)
else else
@ -89,7 +89,7 @@ endfunction
let s:chars['parenthesized_num'] = function('s:parenthesized_num') let s:chars['parenthesized_num'] = function('s:parenthesized_num')
function! s:num_period(num) abort function! s:num_period(num) abort
" http://www.unicode.org/charts/beta/nameslist/n_2460.html " https://www.unicode.org/charts/beta/nameslist/n_2460.html
if index(range(1, 20), a:num) != -1 if index(range(1, 20), a:num) != -1
return nr2char(9351 + a:num) return nr2char(9351 + a:num)
else else
@ -100,7 +100,7 @@ endfunction
let s:chars['num_period'] = function('s:num_period') let s:chars['num_period'] = function('s:num_period')
function! s:parenthesized_letter(letter) abort function! s:parenthesized_letter(letter) abort
" http://www.unicode.org/charts/beta/nameslist/n_2460.html " https://www.unicode.org/charts/beta/nameslist/n_2460.html
if index(range(1, 26), char2nr(a:letter) - 96) != -1 if index(range(1, 26), char2nr(a:letter) - 96) != -1
return nr2char(9371 + char2nr(a:letter) - 96) return nr2char(9371 + char2nr(a:letter) - 96)
else else
@ -111,7 +111,7 @@ endfunction
let s:chars['parenthesized_letter'] = function('s:parenthesized_letter') let s:chars['parenthesized_letter'] = function('s:parenthesized_letter')
function! s:circled_letter(letter) abort function! s:circled_letter(letter) abort
" http://www.unicode.org/charts/beta/nameslist/n_2460.html " https://www.unicode.org/charts/beta/nameslist/n_2460.html
if index(range(1, 26), char2nr(a:letter) - 64) != -1 if index(range(1, 26), char2nr(a:letter) - 64) != -1
return nr2char(9397 + char2nr(a:letter) - 64) return nr2char(9397 + char2nr(a:letter) - 64)
elseif index(range(1, 26), char2nr(a:letter) - 96) != -1 elseif index(range(1, 26), char2nr(a:letter) - 96) != -1

View File

@ -2,7 +2,7 @@
# Author: Brian Beffa <brbsix@gmail.com> # Author: Brian Beffa <brbsix@gmail.com>
# Original source: https://brbsix.github.io/2015/11/29/accessing-tab-completion-programmatically-in-bash/ # Original source: https://brbsix.github.io/2015/11/29/accessing-tab-completion-programmatically-in-bash/
# License: LGPLv3 (http://www.gnu.org/licenses/lgpl-3.0.txt) # License: LGPLv3 (https://www.gnu.org/licenses/lgpl-3.0.txt)
# #
get_completions(){ get_completions(){

View File

@ -84,7 +84,7 @@ scriptencoding utf-8
" normal SPC l u find Usages of cursor symbol " normal SPC l u find Usages of cursor symbol
" "
" < " <
" SpaceVim uses [`ensime-vim`](http://ensime.github.io/editors/vim/install/) " SpaceVim uses [`ensime-vim`](https://ensime.github.io/editors/vim/install/)
" to provide code completion, format, sort imports etc, if has python support. " to provide code completion, format, sort imports etc, if has python support.
" Also you can enable lsp layer to has a better experience. " Also you can enable lsp layer to has a better experience.
" "
@ -100,7 +100,7 @@ scriptencoding utf-8
" @subsection Ensime-vim setup steps " @subsection Ensime-vim setup steps
" "
" The following is quick install steps, if you want to see complete details, " The following is quick install steps, if you want to see complete details,
" please see: [`ensime-vim`](http://ensime.github.io/editors/vim/install/) " please see: [`ensime-vim`](https://ensime.github.io/editors/vim/install/)
" "
" 1. Install vim`s plugin and its dependencies as following. " 1. Install vim`s plugin and its dependencies as following.
" "

View File

@ -13,9 +13,9 @@ nmap gx <Plug>(openbrowser-smart-search)
" If it looks like URI, Open selected URI. " If it looks like URI, Open selected URI.
" Otherwise, Search selected word. " Otherwise, Search selected word.
vmap gx <Plug>(openbrowser-smart-search) vmap gx <Plug>(openbrowser-smart-search)
" vnoremap gob :OpenBrowser http://www.baidu.com/s?wd=<C-R>=expand("<cword>")<cr><cr> " vnoremap gob :OpenBrowser https://www.baidu.com/s?wd=<C-R>=expand("<cword>")<cr><cr>
" nnoremap gob :OpenBrowser http://www.baidu.com/s?wd=<C-R>=expand("<cword>")<cr><cr> " nnoremap gob :OpenBrowser https://www.baidu.com/s?wd=<C-R>=expand("<cword>")<cr><cr>
" vnoremap gog :OpenBrowser http://www.google.com/?#newwindow=1&q=<C-R>=expand("<cword>")<cr><cr> " vnoremap gog :OpenBrowser https://www.google.com/?#newwindow=1&q=<C-R>=expand("<cword>")<cr><cr>
" nnoremap gog :OpenBrowser http://www.google.com/?#newwindow=1&q=<C-R>=expand("<cword>")<cr><cr> " nnoremap gog :OpenBrowser https://www.google.com/?#newwindow=1&q=<C-R>=expand("<cword>")<cr><cr>
" vnoremap goi :OpenBrowserSmartSearch http://www.iciba.com/<C-R>=expand("<cword>")<cr><cr> " vnoremap goi :OpenBrowserSmartSearch http://www.iciba.com/<C-R>=expand("<cword>")<cr><cr>
" nnoremap goi :OpenBrowserSmartSearch http://www.iciba.com/<C-R>=expand("<cword>")<cr><cr> " nnoremap goi :OpenBrowserSmartSearch http://www.iciba.com/<C-R>=expand("<cword>")<cr><cr>

View File

@ -3226,7 +3226,7 @@ MAPPINGS
normal SPC l u find Usages of cursor symbol normal SPC l u find Usages of cursor symbol
< <
SpaceVim uses [`ensime-vim`](http://ensime.github.io/editors/vim/install/) to SpaceVim uses [`ensime-vim`](https://ensime.github.io/editors/vim/install/) to
provide code completion, format, sort imports etc, if has python support. Also provide code completion, format, sort imports etc, if has python support. Also
you can enable lsp layer to has a better experience. you can enable lsp layer to has a better experience.
@ -3242,7 +3242,7 @@ than other servers(LanguageClient-neovim or vim-lsp). Please make sure that
ENSIME-VIM SETUP STEPS ENSIME-VIM SETUP STEPS
The following is quick install steps, if you want to see complete details, The following is quick install steps, if you want to see complete details,
please see: [`ensime-vim`](http://ensime.github.io/editors/vim/install/) please see: [`ensime-vim`](https://ensime.github.io/editors/vim/install/)
1. Install vim`s plugin and its dependencies as following. 1. Install vim`s plugin and its dependencies as following.

View File

@ -259,7 +259,7 @@
id="textbox" id="textbox"
type="text" type="text"
placeholder="Search on Google..." placeholder="Search on Google..."
onkeydown="if (event.keyCode == 13 || event.which == 13) { location='http://www.google.com/search?q=' + encodeURIComponent(document.getElementById('textbox').value) + '+site%3Aspacevim.org';}" onkeydown="if (event.keyCode == 13 || event.which == 13) { location='https://www.google.com/search?q=' + encodeURIComponent(document.getElementById('textbox').value) + '+site%3Aspacevim.org';}"
/> />
</p> </p>
{% else %} {% else %}
@ -276,7 +276,7 @@
id="textbox" id="textbox"
type="text" type="text"
placeholder="Search on Google..." placeholder="Search on Google..."
onkeydown="if (event.keyCode == 13 || event.which == 13) { location='http://www.google.com/search?q=' + encodeURIComponent(document.getElementById('textbox').value) + '+site%3Aspacevim.org';}" onkeydown="if (event.keyCode == 13 || event.which == 13) { location='https://www.google.com/search?q=' + encodeURIComponent(document.getElementById('textbox').value) + '+site%3Aspacevim.org';}"
/> />
</p> </p>
{% endif %} {% endif %}

View File

@ -2215,7 +2215,7 @@ SpaceVim 通过默认通过 [checkers](../layers/checkers/) 模块来进行文
### 格式规范 ### 格式规范
SpaceVim 添加了 [EditorConfig](http://editorconfig.org/) 支持,通过一个配置文件来为不同的文件格式设置对应的代码格式规范, SpaceVim 添加了 [EditorConfig](https://editorconfig.org/) 支持,通过一个配置文件来为不同的文件格式设置对应的代码格式规范,
这一工具兼容多种文本编辑器和集成开发环境。 这一工具兼容多种文本编辑器和集成开发环境。
更多配置方式,可以阅读其官方文档:[editorconfig-vim packages documentation](https://github.com/editorconfig/editorconfig-vim/blob/master/README.md). 更多配置方式,可以阅读其官方文档:[editorconfig-vim packages documentation](https://github.com/editorconfig/editorconfig-vim/blob/master/README.md).

View File

@ -16,7 +16,7 @@ lang: zh
## 模块描述 ## 模块描述
这一模块为 SpaceVim 提供了 [Git](http://git-scm.com/) 支持,根据当前 Vim 版本特性,选择 gina 或者 gita 作为默认的后台 Git 插件。 这一模块为 SpaceVim 提供了 [Git](https://git-scm.com/) 支持,根据当前 Vim 版本特性,选择 gina 或者 gita 作为默认的后台 Git 插件。
## 启用模块 ## 启用模块

View File

@ -38,7 +38,7 @@ lang: zh
### 依赖安装 ### 依赖安装
首先,需要安装 [elm](http://elm-lang.org/) 语言,最方便的安装方式是使用官方的 npm 包。 首先,需要安装 [elm](https://elm-lang.org/) 语言,最方便的安装方式是使用官方的 npm 包。
```sh ```sh
npm install -g elm npm install -g elm

View File

@ -38,8 +38,8 @@ lang: zh
### 环境依赖 ### 环境依赖
1. [PHP 5.3+](http://php.net/) 1. [PHP 5.3+](https://php.net/)
2. [PCNTL](http://php.net/manual/en/book.pcntl.php) Extension 2. [PCNTL](https://php.net/manual/en/book.pcntl.php) Extension
3. [Msgpack 0.5.7+(for NeoVim)](https://github.com/msgpack/msgpack-php) Extension or [JSON(for Vim 7.4+)](http://php.net/manual/en/intro.json.php) Extension 3. [Msgpack 0.5.7+(for NeoVim)](https://github.com/msgpack/msgpack-php) Extension or [JSON(for Vim 7.4+)](https://php.net/manual/en/intro.json.php) Extension
4. [Composer](https://getcomposer.org/) Project 4. [Composer](https://getcomposer.org/) Project

View File

@ -25,7 +25,7 @@ image: https://user-images.githubusercontent.com/13142418/46590501-4e50b100-cae6
目前支持的Scheme实现包括 目前支持的Scheme实现包括
- [MIT Scheme](http://www.gnu.org/software/mit-scheme/) - [MIT Scheme](https://www.gnu.org/software/mit-scheme/)
- [Chez Scheme](https://cisco.github.io/ChezScheme/) - [Chez Scheme](https://cisco.github.io/ChezScheme/)
- [guile](https://www.gnu.org/software/guile/) - [guile](https://www.gnu.org/software/guile/)

View File

@ -2301,7 +2301,7 @@ Custom sign symbol:
### EditorConfig ### EditorConfig
SpaceVim has supported [EditorConfig](http://editorconfig.org/), a configuration file to “define and maintain consistent coding styles between different editors and IDEs.” SpaceVim has supported [EditorConfig](https://editorconfig.org/), a configuration file to “define and maintain consistent coding styles between different editors and IDEs.”
To customize your editorconfig experience, read the [editorconfig-vim packages documentation](https://github.com/editorconfig/editorconfig-vim/blob/master/README.md). To customize your editorconfig experience, read the [editorconfig-vim packages documentation](https://github.com/editorconfig/editorconfig-vim/blob/master/README.md).

View File

@ -9,7 +9,7 @@ layout: null
> >
<channel> <channel>
<title>{{ site.title | xml_escape }}</title> <title>{{ site.title | xml_escape }}</title>
<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description> <description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>
<sy:updatePeriod>{{ site.feed_update_period | default: "daily" | xml_escape }}</sy:updatePeriod> <sy:updatePeriod>{{ site.feed_update_period | default: "daily" | xml_escape }}</sy:updatePeriod>
<sy:updateFrequency>{{ site.feed_update_frequency | default: 1 | xml_escape }}</sy:updateFrequency> <sy:updateFrequency>{{ site.feed_update_frequency | default: 1 | xml_escape }}</sy:updateFrequency>
<link>{{ site.url }}</link> <link>{{ site.url }}</link>

View File

@ -16,7 +16,7 @@ description: "This layers adds extensive support for git"
## Description ## Description
This layers adds extensive support for [git](http://git-scm.com/). This layers adds extensive support for [git](https://git-scm.com/).
## Install ## Install

View File

@ -37,7 +37,7 @@ SpaceVim also provides REPL support for Elm.
### Requirements ### Requirements
First, make sure you have the [Elm Platform](http://elm-lang.org/install) installed. The simplest method to get started is to use the official [npm](https://www.npmjs.com/package/elm) package. First, make sure you have the [Elm Platform](https://elm-lang.org/install) installed. The simplest method to get started is to use the official [npm](https://www.npmjs.com/package/elm) package.
```sh ```sh
npm install -g elm npm install -g elm

View File

@ -23,7 +23,7 @@ image: https://user-images.githubusercontent.com/13142418/46590501-4e50b100-cae6
This layer adds [Scheme](http://www.scheme-reports.org) support to SpaceVim. This layer adds [Scheme](http://www.scheme-reports.org) support to SpaceVim.
The following scheme dialect support has been added: The following scheme dialect support has been added:
- [MIT Scheme](http://www.gnu.org/software/mit-scheme/) - [MIT Scheme](https://www.gnu.org/software/mit-scheme/)
- [Chez Scheme](https://cisco.github.io/ChezScheme/) - [Chez Scheme](https://cisco.github.io/ChezScheme/)
- [guile](https://www.gnu.org/software/guile/) - [guile](https://www.gnu.org/software/guile/)