erroneousboat-slack-term/README.md
Chris Marshall 5b7fabcabd Set column widths from sidebarWidth config value
Reads from config file or defaults to 1 column
2016-10-19 12:23:05 -04:00

2.2 KiB

Slack-Term

A Slack client for your terminal. As of now the application is in a beta state. See issues for known bugs and for features I'm working on at the moment

Screenshot

Getting started

  1. Download a compatible version for your system, and place where you can access it from the command line like, ~/bin, /usr/local/bin, or /usr/local/sbin.

  2. Get a slack token, click here

  3. Create a slack-term.json file, place it in your home directory. The file should resemble the following structure:

    {
        "slack_token": "yourslacktokenhere",
    
        // add the following to use light theme, default is dark
        "theme": "light",
    
        // Set the width of the channel list sidebar. Must be between 1 and 11
        // as the entire width of the screen is 12 columns.
        "sidebar_width": 3
    }
    
  4. Run slack-term:

    $ slack-term
    
    // or specify the location of the config file
    $ slack-term -config [path-to-config-file]
    

Usage

mode key action
normal i insert mode
normal k move channel cursor up
normal j move channel cursor down
normal gg move channel cursor top
normal G move channel cursor bottom
normal pg-up scroll chat pane up
normal ctrl-b scroll chat pane up
normal ctrl-u scroll chat pane up
normal pg-down scroll chat pane down
normal ctrl-f scroll chat pane down
normal ctrl-d scroll chat pane down
normal pg-down scroll chat pane down
normal q quit
insert left move input cursor left
insert right move input cursor right
insert enter send message
insert esc normal mode