https://github.com/heavenshell/vim-slack
Slack for Vim client
https://github.com/heavenshell/vim-slack
Last synced: 6 months ago
JSON representation
Slack for Vim client
- Host: GitHub
- URL: https://github.com/heavenshell/vim-slack
- Owner: heavenshell
- Created: 2014-09-08T16:13:29.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-11-06T10:58:38.000Z (over 10 years ago)
- Last Synced: 2025-03-06T02:12:12.545Z (over 1 year ago)
- Language: VimL
- Size: 133 KB
- Stars: 107
- Watchers: 11
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Slack for Vim
=============
This is a Vim plugin for post message to [Slack](https://slack.com/)
Currently this plugin is work in progress.
Usage
-----
- Post message via command line.
```viml
:Slack -channel=#general -text="Hello world"
```
Post `Hello world` to #general channel
- Post current buffer to Slack.
```viml
:Slack -channel=#general
```
Post current buffer texts to #general channel
- Post visual selected texts.
```viml
:'<,'>Slack -channel=#general
```
Post visual selected texts to #general channel
- Post message specific username
```viml
:'<,'>Slack -channel=#general -username=Vimmer
```
- Post message specific username
```viml
:'<,'>Slack -channel=#general -username=Vimmer
```
- Upload current buffer as a file.
```viml
:SlackFile -channel=#general
```
- Upload selected text as a file.
```viml
:'<,'>SlackFile -channel=#general
```
Requirement
-----------
This plugin need [webapi-vim](https://github.com/mattn/webapi-vim).