This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-16
Channels
- # announcements (3)
- # babashka (48)
- # beginners (35)
- # calva (3)
- # chlorine-clover (5)
- # clj-kondo (9)
- # cljdoc (20)
- # cljsrn (1)
- # clojure (55)
- # clojure-europe (33)
- # clojure-nl (3)
- # clojure-norway (6)
- # clojure-spec (7)
- # clojure-uk (27)
- # clojurescript (95)
- # closh (1)
- # conjure (1)
- # cursive (16)
- # datomic (30)
- # emacs (7)
- # honeysql (1)
- # hugsql (2)
- # introduce-yourself (2)
- # jobs (1)
- # lsp (30)
- # malli (22)
- # nbb (11)
- # news-and-articles (1)
- # off-topic (8)
- # pathom (21)
- # polylith (39)
- # portal (4)
- # practicalli (4)
- # protojure (1)
- # re-frame (14)
- # releases (1)
- # restql (1)
- # reveal (24)
- # sci (1)
- # sql (21)
- # vim (11)
- # xtdb (33)
Random share, this is one of my most effective productivity boosters I've come up with lately https://github.com/zenmacs/.emacs.d/blob/master/scripts/first_diff_line.sh When I open a file it jumps to line $n based on git status or git log. This way I can restore the "context" of what I was working on, quicker
This is the integration point https://github.com/zenmacs/.emacs.d/blob/f98c95e9bdf77d979b82f5ad6024a6f9ab39d341/lib/non-submodules/vemv.open.el#L7-L21
It plays nicely with another command which I call open-all-git-files
. It will open each file displayed by git status
So you can open N files with one command and have all of them jump to the right line number in an instant. Feels like magic every time :)
apparently I do because I have (setq-default save-place t)
in my config 😇
I was partly happy with save-place and possibly other complementary functionality (desktop.el IIRC?) but ultimately git is the best source of truth for me
especially as you change branches - then the right LOC to jump to will vary
Rad. You may also be interested in this new library for keeping track of where you were working: https://github.com/alphapapa/dogears.el