Skip to content

mizukmb/slackstatus.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

slackstatus.vim

Update Slack status on Vim.

slack_status

This plugin GET request to /api/users.profile.set in Vim.

Install

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'

Usage

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

slackstatus vim_demo

License

MIT

About

Update Slack status by Vim.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published