Mastodon mode

This commit is contained in:
Seth Morabito 2022-11-20 20:17:49 -08:00
parent d68ec2fd6a
commit 78e5308f64
2 changed files with 18 additions and 3 deletions

1
.gitignore vendored
View File

@ -28,6 +28,7 @@ history
ido.last ido.last
image-dired image-dired
mastodon.* mastodon.*
persist
network-security.data network-security.data
org-roam.db org-roam.db
places places

View File

@ -579,6 +579,18 @@ Turn on ANSI colors in the shell.
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on) (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
#+END_SRC #+END_SRC
** Assembly Mode hack
Tabs are all wrong in assembly mode, so here's a fix.
#+BEGIN_SRC emacs-lisp
(add-hook 'asm-mode-hook (lambda ()
(setq indent-tabs mode nil)
(electric-indent-mode)
(setq tab-stop-list (number-sequence 8 60 8))))
#+END_SRC
** Line Numbers ** Line Numbers
I like to see /(Line,Column)/ displayed in the modeline. I like to see /(Line,Column)/ displayed in the modeline.
@ -1027,11 +1039,13 @@ with nicer looking defaults using Unicode.
(setq auth-sources '("~/.authinfo.gpg"))) (setq auth-sources '("~/.authinfo.gpg")))
#+END_SRC #+END_SRC
** Twittering ** Mastodon
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package twittering-mode (use-package mastodon
:ensure t) :ensure t
:config (setq mastodon-instance-url "https://vulpine.club/"
mastodon-active-user "tilton"))
#+END_SRC #+END_SRC
** Sly ** Sly