Update Slack status on Vim.
This plugin GET request to /api/users.profile.set in Vim.
slackstatus.vim depend on mattn/webapi-vim. You need to install webapi-vim.
For example
# Dein.vim ( https://github.com/Shougo/dein.vim )
call dein#add('mattn/webapi-vim')
call dein#add('mizukmb/slackstatus.vim')
# NeoBundle ( https://github.com/Shougo/neobundle.vim )
NeoBundle 'mattn/webapi-vim'
NeoBundle 'mizukmb/slackstatus.vim'
You need to set variable g:slackstatus_token
in .vimrc
.
let g:slackstatus_token = '<YOUR_SLACK_TOKEN>'
How to get Slack token https://api.slack.com/custom-integrations/legacy-tokens
- Update Slack status
:SlackStatusUpdate [status_emoji] [status_text]
" example
:SlackStatusUpdate :palm_tree: Vacationing
MIT