mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 15:19:12 +08:00
Doc: add description for <Leader> P. (#3913)
This commit is contained in:
parent
1f963bf725
commit
c5387da3fc
@ -1027,13 +1027,14 @@ call SpaceVim#custom#SPC('nnoremap', ['f', 't'], 'echom "hello world"', 'test cu
|
||||
否则,这个快捷键使用的寄存器是 `*`,
|
||||
可以阅读 `:h registers` 获取更多关于寄存器相关的内容。
|
||||
|
||||
| 快捷键 | 功能描述 |
|
||||
| ------------ | ---------------------------- |
|
||||
| `<Leader> y` | 复制文本至系统剪切板 |
|
||||
| `<Leader> p` | 粘贴系统剪切板文字至当前位置 |
|
||||
| `<Leader> Y` | 复制文本至 pastebin |
|
||||
| 快捷键 | 功能描述 |
|
||||
| ------------ | -------------------------------- |
|
||||
| `<Leader> y` | 复制文本至系统剪切板 |
|
||||
| `<Leader> p` | 粘贴系统剪切板文字至当前位置之后 |
|
||||
| `<Leader> P` | 粘贴系统剪切板文字至当前位置之前 |
|
||||
| `<Leader> Y` | 复制文本至 pastebin |
|
||||
|
||||
快捷键 `<Leader< Y` 将把选中的文本复制到 pastebin 服务器,并且将返回的链接复制到系统剪切板。
|
||||
快捷键 `<Leader> Y` 将把选中的文本复制到 pastebin 服务器,并且将返回的链接复制到系统剪切板。
|
||||
使用该功能,需要系统里有 `curl` 可执行程序(Windows 系统下,Neovim 自带 `curl`)。
|
||||
|
||||
按下快捷键 `<Leader> Y` 后,实际执行的命令为:
|
||||
|
@ -1085,13 +1085,14 @@ In transient state:
|
||||
If `has('unnamedplus')`, the register used by `<Leader> y` is `+`, otherwise it is `*`.
|
||||
Read `:h registers` for more info about other registers.
|
||||
|
||||
| Key | Action |
|
||||
| ------------ | -------------------------------- |
|
||||
| `<Leader> y` | Copy text to system clipboard |
|
||||
| `<Leader> p` | Paste text from system clipboard |
|
||||
| `<Leader> Y` | Copy text to pastebin |
|
||||
| Key | Descriptions |
|
||||
| ------------ | -------------------------------------------- |
|
||||
| `<Leader> y` | Copy text to system clipboard |
|
||||
| `<Leader> p` | Paste text from system clipboard after here |
|
||||
| `<Leader> P` | Paste text from system clipboard before here |
|
||||
| `<Leader> Y` | Copy text to pastebin |
|
||||
|
||||
The `<Leader< Y` key binding will copy selected text to a pastebin server. It requires `curl` in your `$PATH`.
|
||||
The `<Leader> Y` key binding will copy selected text to a pastebin server. It requires `curl` in your `$PATH`.
|
||||
And the default command is:
|
||||
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user