From 96fe87f8499911cf4b5cb9165ce0ece89a2ea0fc Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 15 Mar 2024 19:59:09 +0800 Subject: [PATCH] revert(mapping)!: remove `SPC b h`, duplicate with `SPC a s` --- autoload/SpaceVim/layers/core.vim | 1 - docs/cn/documentation.md | 1 - docs/documentation.md | 1 - 3 files changed, 3 deletions(-) diff --git a/autoload/SpaceVim/layers/core.vim b/autoload/SpaceVim/layers/core.vim index c17116759..00e8b151f 100644 --- a/autoload/SpaceVim/layers/core.vim +++ b/autoload/SpaceVim/layers/core.vim @@ -269,7 +269,6 @@ function! SpaceVim#layers#core#config() abort call SpaceVim#mapping#space#def('nnoremap', ['b', 'e'], 'call call(' \ . string(s:_function('s:safe_erase_buffer')) . ', [])', \ 'safe-erase-buffer', 1) - call SpaceVim#mapping#space#def('nnoremap', ['b', 'h'], 'Startify', 'open-welcome-screen', 1) call SpaceVim#mapping#space#def('nnoremap', ['b', 'm'], 'call call(' \ . string(s:_function('s:open_message_buffer')) . ', [])', \ 'open-message-buffer', 1) diff --git a/docs/cn/documentation.md b/docs/cn/documentation.md index c36ddaf90..ded309dbe 100644 --- a/docs/cn/documentation.md +++ b/docs/cn/documentation.md @@ -1380,7 +1380,6 @@ SpaceVim 选项 `window_leader` 的值来设为其它按键: | `SPC b Ctrl-d` | 删除其它所有缓冲区 | | `SPC b Ctrl-Shift-d` | 删除名称匹配指定正则表达式的缓冲区 | | `SPC b e` | 清除当前缓冲区内容,需要手动确认 | -| `SPC b h` | 打开欢迎界面, 等同于快捷键 `SPC a s` | | `SPC b n` | 切换至下一个缓冲区,排除特殊插件的缓冲区 | | `SPC b m` | 打开消息缓冲区 | | `SPC b o` | 关闭所有窗口和已保存的缓冲区 | diff --git a/docs/documentation.md b/docs/documentation.md index 23b3d609a..d3f4db677 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -1489,7 +1489,6 @@ Buffer manipulation commands (start with `b`): | `SPC b Ctrl-d` | kill other buffers | | `SPC b Ctrl-Shift-d` | kill buffers using a regular expression | | `SPC b e` | erase the content of the buffer (ask for confirmation) | -| `SPC b h` | open _SpaceVim_ home buffer | | `SPC b n` | switch to next buffer avoiding special buffers | | `SPC b m` | open _Messages_ buffer | | `SPC b o` | kill all saved buffers and windows except the current one |