diff options
author | Johnson Denen <johnson.denen@gmail.com> | 2017-04-15 21:07:20 -0400 |
---|---|---|
committer | Johnson Denen <johnson.denen@gmail.com> | 2017-04-15 21:15:08 -0400 |
commit | d1aa39c22b43324751f8400aa303c7d467864665 (patch) | |
tree | 3b55278ac988d659a2c15a38bfb9604b063a5d6f /README.org | |
parent | cb985db2f37eabd76b9c2643387b4e94009b3f88 (diff) |
Provide context menu from `with-eval-after-load' block
Check for `discover' with `require'
Clean up README
Diffstat (limited to 'README.org')
-rw-r--r-- | README.org | 42 |
1 files changed, 23 insertions, 19 deletions
@@ -16,16 +16,21 @@ Then, require it and go. (require 'mastodon) #+END_SRC -I'll make mastdon.el available on MELPA when I feel like it's reached a -stable state. +*** use-package -Mastodon mode provides a overview of it's shortcuts through [[https://github.com/mickeynp/discover.el][Discover mode]]. -To activate Discover mode locally for Mastodon mode buffers add this to your emacs configuration: #+BEGIN_SRC emacs-lisp - (add-hook 'mastodon-mode-hook 'discover-mode-turn-on) + (use-package mastodon + :load-path "/path/to/mastodon.el/lisp") #+END_SRC -The context menu is then activated by pressing '?'. +*** MELPA +I'll make mastdon.el available on MELPA when I feel like it's reached a +stable state. + +*** Discover + +=mastodon-mode= will provide a context menu for its keybindings if =discover= +is installed. It is not required. ** Usage @@ -51,19 +56,18 @@ This value can be customized too, and defaults to Opens a =*mastodon-home*= buffer in the major mode so you can see toots. Keybindings: -|-----+------------------------------------------| -| Key | Action | -|-----+------------------------------------------| -| =F= | Open federated timeline | -| =H= | Open home timeline | -| =L= | Open local timeline | -| =n= | Switch to =mastodon-toot= buffer | -| =q= | Quit mastodon buffer. Leave window open. | -| =Q= | Quit mastodon buffer and kill window. | -| =T= | Prompt for tag and open its timeline | -|-----+------------------------------------------| - - +|-----+------------------------------------------------| +| Key | Action | +|-----+------------------------------------------------| +| =?= | Open context menu (if =discover= is available) | +| =F= | Open federated timeline | +| =H= | Open home timeline | +| =L= | Open local timeline | +| =n= | Switch to =mastodon-toot= buffer | +| =q= | Quit mastodon buffer. Leave window open. | +| =Q= | Quit mastodon buffer and kill window. | +| =T= | Prompt for tag and open its timeline | +|-----+------------------------------------------------| *** Toot toot |