diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2019-08-23 11:03:44 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2019-08-23 11:03:44 +0200 |
| commit | fef5397027051af78b415ced11ec5f1494d8f380 (patch) | |
| tree | 001ed3e8245e95b4a976524a0bfa885259fa10fc /.emacs.d/init.org | |
| parent | 53ba9d9fd830af1b6833eb986eb378c0bc12cdea (diff) | |
| download | dotfiles-fef5397027051af78b415ced11ec5f1494d8f380.tar.gz dotfiles-fef5397027051af78b415ced11ec5f1494d8f380.zip | |
emacs: added some screencasting packages
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.emacs.d/init.org')
| -rw-r--r-- | .emacs.d/init.org | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.emacs.d/init.org b/.emacs.d/init.org index 66ed281..e88368e 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -2302,6 +2302,41 @@ too many things into my leader and these shortcuts look sensible to me). (global-set-key (kbd "C-c o") 'crux-open-with)) #+END_SRC +** Screencast + +Some utilities when recording my GNU Emacs adventures. First of all, =keycast= +shows the keys being pressed in the mode line. + +#+BEGIN_SRC elisp +(use-package keycast + :ensure t) +#+END_SRC + +Second of all, we have =gif-screencast=, which allows you to record your GNU +Emacs activity and saves it into a gif (unless you have specified the +=XDG_VIDEOS_DIR=, it will use =~/Videos/emacs/<name>.gif=): + +#+BEGIN_SRC elisp +(use-package gif-screencast + :ensure t + :config + (with-eval-after-load 'gif-screencast + (define-key gif-screencast-mode-map (kbd "<f8>") 'gif-screencast-toggle-pause) + (define-key gif-screencast-mode-map (kbd "<f9>") 'gif-screencast-stop)) + + (global-set-key (kbd "<f7>") 'mssola-screencast)) +#+END_SRC + +And last but not least, I use a wrapper to start a screencast: + +#+BEGIN_SRC elisp +(defun mssola-screencast () + "Start keycast-mode and then start a gif screencast." + + (keycast) + (gif-screencast)) +#+END_SRC + ** Emojis Display emojis in buffer! |
