1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:30:04 +08:00
SpaceVim/docs/layers/chat.md

41 lines
817 B
Markdown
Raw Normal View History

2017-10-09 22:41:31 +08:00
---
2017-12-12 09:59:27 +08:00
title: "SpaceVim chat layer"
2021-06-21 20:39:29 +08:00
description: "SpaceVim chatting layer provides chatting with qq and weixin in vim."
2017-10-09 22:41:31 +08:00
---
2018-06-23 14:37:41 +08:00
# [Available Layers](../) >> chat
<!-- vim-markdown-toc GFM -->
- [Description](#description)
- [Install](#install)
- [Key Mappings](#key-mappings)
<!-- vim-markdown-toc -->
## Description
2017-04-29 21:30:31 +08:00
2021-06-21 20:39:29 +08:00
SpaceVim chatting layer provides chatting feature in vim.
2017-04-29 21:30:31 +08:00
2018-06-23 14:37:41 +08:00
## Install
2017-04-29 21:30:31 +08:00
2021-06-21 20:39:29 +08:00
To use this configuration layer, add the following snippet to your custom configuration file.
2017-04-29 21:30:31 +08:00
2018-06-23 14:37:41 +08:00
```toml
[[layers]]
name = "chat"
```
2017-04-29 21:30:31 +08:00
## Key Mappings
`Alt + x` : open chatting buffer for qq.
`Alt + w` : open chatting buffer for weixin.
within chatting buffer:
2021-06-21 20:39:29 +08:00
`Alt + Left/Right` : switch between buffers.
`Alt + 1-9` : jump to the specified channel.
2017-04-29 21:30:31 +08:00
for more mappings in chatting buffer, please read <kbd>:h vim-chat</kbd>.