1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-13 02:05:40 +08:00

Remove: Delete format markdown table key binding SPC l ft. (#2613)

* Fixed: the | that prefixed by a \ should not be treated as a seperator of MarkDown table.

* Remove the key binding SPC l ft of Markdown layer.

* Doc: remove the descriptions of SPC l ft which has been removed.
This commit is contained in:
Lin Kun 2019-02-20 21:57:51 +08:00 committed by Wang Shidong
parent d5a69a4f94
commit 5f1d96b7cf
3 changed files with 1 additions and 3 deletions

View File

@ -71,7 +71,6 @@ function! s:mappings() abort
let g:_spacevim_mappings_space = {} let g:_spacevim_mappings_space = {}
endif endif
let g:_spacevim_mappings_space.l = {'name' : '+Language Specified'} let g:_spacevim_mappings_space.l = {'name' : '+Language Specified'}
call SpaceVim#mapping#space#langSPC('nmap', ['l','ft'], 'Tabularize /|', 'Format table under cursor', 1)
call SpaceVim#mapping#space#langSPC('nmap', ['l','p'], 'MarkdownPreview', 'Real-time markdown preview', 1) call SpaceVim#mapping#space#langSPC('nmap', ['l','p'], 'MarkdownPreview', 'Real-time markdown preview', 1)
call SpaceVim#mapping#space#langSPC('nmap', ['l','k'], '<plug>(markdown-insert-link)', 'add link url', 0, 1) call SpaceVim#mapping#space#langSPC('nmap', ['l','k'], '<plug>(markdown-insert-link)', 'add link url', 0, 1)
call SpaceVim#mapping#space#langSPC('nmap', ['l', 'r'], call SpaceVim#mapping#space#langSPC('nmap', ['l', 'r'],

View File

@ -74,6 +74,5 @@ npm install --global prettier
| 快捷键 | 模式 | 按键描述 | | 快捷键 | 模式 | 按键描述 |
| ---------- | ------ | -------------------------- | | ---------- | ------ | -------------------------- |
| `SPC b f` | Normal | 格式化当前文件 | | `SPC b f` | Normal | 格式化当前文件 |
| `SPC l ft` | Normal | 格式化光标处的表格 |
| `SPC l k` | Normal | 增加链接 URL | | `SPC l k` | Normal | 增加链接 URL |
| `SPC l p` | Normal | 通过浏览器实时预览当前文件 | | `SPC l p` | Normal | 通过浏览器实时预览当前文件 |

View File

@ -73,5 +73,5 @@ Bullet marker to use for list items (`'-'`, `'*'`, or `'+'`, default: `'-'`).
| Key bindings | mode | Descriptions | | Key bindings | mode | Descriptions |
| ------------ | ------ | -------------------------- | | ------------ | ------ | -------------------------- |
| `SPC b f` | Normal | Format current buffer | | `SPC b f` | Normal | Format current buffer |
| `SPC l ft` | Normal | Format table under cursor | | `SPC l k` | Normal | Add URL |
| `SPC l p` | Normal | Real-time markdown preview | | `SPC l p` | Normal | Real-time markdown preview |