mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 06:50:04 +08:00
Doc: Use HTTPS everywhere (#4020)
This commit is contained in:
parent
b8f867c5c3
commit
29b3dcc45e
@ -31,7 +31,7 @@ let s:chars['bubble_num'] = function('s:bubble_num')
|
||||
" 1: 1 ➛ ➀
|
||||
" 2: 1 ➛ ⓵
|
||||
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:num == 0
|
||||
return nr2char(9471)
|
||||
@ -78,7 +78,7 @@ let s:chars['index_num'] = function('s:index_num')
|
||||
|
||||
|
||||
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
|
||||
return nr2char(9331 + a:num)
|
||||
else
|
||||
@ -89,7 +89,7 @@ endfunction
|
||||
let s:chars['parenthesized_num'] = function('s:parenthesized_num')
|
||||
|
||||
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
|
||||
return nr2char(9351 + a:num)
|
||||
else
|
||||
@ -100,7 +100,7 @@ endfunction
|
||||
let s:chars['num_period'] = function('s:num_period')
|
||||
|
||||
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
|
||||
return nr2char(9371 + char2nr(a:letter) - 96)
|
||||
else
|
||||
@ -111,7 +111,7 @@ endfunction
|
||||
let s:chars['parenthesized_letter'] = function('s:parenthesized_letter')
|
||||
|
||||
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
|
||||
return nr2char(9397 + char2nr(a:letter) - 64)
|
||||
elseif index(range(1, 26), char2nr(a:letter) - 96) != -1
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
# Author: Brian Beffa <brbsix@gmail.com>
|
||||
# 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(){
|
||||
|
@ -84,7 +84,7 @@ scriptencoding utf-8
|
||||
" 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.
|
||||
" Also you can enable lsp layer to has a better experience.
|
||||
"
|
||||
@ -100,7 +100,7 @@ scriptencoding utf-8
|
||||
" @subsection Ensime-vim setup steps
|
||||
"
|
||||
" 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.
|
||||
"
|
||||
|
@ -13,9 +13,9 @@ nmap gx <Plug>(openbrowser-smart-search)
|
||||
" If it looks like URI, Open selected URI.
|
||||
" Otherwise, Search selected word.
|
||||
vmap gx <Plug>(openbrowser-smart-search)
|
||||
" vnoremap gob :OpenBrowser http://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>
|
||||
" vnoremap gog :OpenBrowser http://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>
|
||||
" vnoremap gob :OpenBrowser https://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 https://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>
|
||||
" nnoremap goi :OpenBrowserSmartSearch http://www.iciba.com/<C-R>=expand("<cword>")<cr><cr>
|
||||
|
@ -3226,7 +3226,7 @@ MAPPINGS
|
||||
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
|
||||
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
|
||||
|
||||
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.
|
||||
|
||||
|
@ -259,7 +259,7 @@
|
||||
id="textbox"
|
||||
type="text"
|
||||
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>
|
||||
{% else %}
|
||||
@ -276,7 +276,7 @@
|
||||
id="textbox"
|
||||
type="text"
|
||||
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>
|
||||
{% endif %}
|
||||
|
@ -2215,7 +2215,7 @@ SpaceVim 通过默认通过 [checkers](../layers/checkers/) 模块来进行文
|
||||
|
||||
### 格式规范
|
||||
|
||||
SpaceVim 添加了 [EditorConfig](http://editorconfig.org/) 支持,通过一个配置文件来为不同的文件格式设置对应的代码格式规范,
|
||||
SpaceVim 添加了 [EditorConfig](https://editorconfig.org/) 支持,通过一个配置文件来为不同的文件格式设置对应的代码格式规范,
|
||||
这一工具兼容多种文本编辑器和集成开发环境。
|
||||
|
||||
更多配置方式,可以阅读其官方文档:[editorconfig-vim package’s documentation](https://github.com/editorconfig/editorconfig-vim/blob/master/README.md).
|
||||
|
@ -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 插件。
|
||||
|
||||
## 启用模块
|
||||
|
||||
|
@ -38,7 +38,7 @@ lang: zh
|
||||
|
||||
### 依赖安装
|
||||
|
||||
首先,需要安装 [elm](http://elm-lang.org/) 语言,最方便的安装方式是使用官方的 npm 包。
|
||||
首先,需要安装 [elm](https://elm-lang.org/) 语言,最方便的安装方式是使用官方的 npm 包。
|
||||
|
||||
```sh
|
||||
npm install -g elm
|
||||
|
@ -38,8 +38,8 @@ lang: zh
|
||||
|
||||
### 环境依赖
|
||||
|
||||
1. [PHP 5.3+](http://php.net/)
|
||||
2. [PCNTL](http://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
|
||||
1. [PHP 5.3+](https://php.net/)
|
||||
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+)](https://php.net/manual/en/intro.json.php) Extension
|
||||
4. [Composer](https://getcomposer.org/) Project
|
||||
|
||||
|
@ -25,7 +25,7 @@ image: https://user-images.githubusercontent.com/13142418/46590501-4e50b100-cae6
|
||||
目前支持的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/)
|
||||
- [guile](https://www.gnu.org/software/guile/)
|
||||
|
||||
|
@ -2301,7 +2301,7 @@ Custom sign symbol:
|
||||
|
||||
### 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 package’s documentation](https://github.com/editorconfig/editorconfig-vim/blob/master/README.md).
|
||||
|
||||
|
@ -16,7 +16,7 @@ description: "This layers adds extensive support for git"
|
||||
|
||||
## Description
|
||||
|
||||
This layers adds extensive support for [git](http://git-scm.com/).
|
||||
This layers adds extensive support for [git](https://git-scm.com/).
|
||||
|
||||
## Install
|
||||
|
||||
|
@ -37,7 +37,7 @@ SpaceVim also provides REPL support for Elm.
|
||||
|
||||
### 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
|
||||
npm install -g elm
|
||||
|
@ -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.
|
||||
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/)
|
||||
- [guile](https://www.gnu.org/software/guile/)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user