unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Theodor Thornhill <theo@thornhill.no>
To: emacs-devel@gnu.org
Subject: [ELPA] package proposal: fannypack.el
Date: Tue, 22 Feb 2022 14:24:32 +0100	[thread overview]
Message-ID: <871qzvqbjj.fsf@thornhill.no> (raw)

Hi there!

I've been using a small utility for some time that might be useful for
others.  It's called fannypack.el, and is a file management/file
navigation helper.  So, what does it do?

When working on some feature, I usually checkout a branch, then start
working.  After a while, some files reveal themselves as more relevant
to the ongoing work than others, and I want to be able to jump to them
quickly, without them getting lost in the sea of buffers.  In addition,
I want it to be persisted, so that when I restart my emacs session, I
still can jump to things quickly.  This demotes the general
switch-to-buffer mechanism to store the bulk of buffers, and the
fannypack provides some clarity.  When changing branches, or projects,
the fannypacks are automatically updated to the relevant ones.  So to
sum it up:

* Keep different subsets of project files easily accessible, delimited
  by branch

* Automatically update what sets of files are shown

* Persist the data between sessions


The keybinds I use at the moment for this are:
```
(global-set-key (kbd "s-f") 'fannypack-pick)
(global-set-key (kbd "s-k") 'fannypack-drop)
(global-set-key (kbd "s-m") 'fannypack-place)
(global-set-key (kbd "s-+") 'fannypack-promote)
(global-set-key (kbd "s--") 'fannypack-demote)
(global-set-key (kbd "s-n") 'fannypack-feeling-lucky)
(global-set-key (kbd "s-d") 'fannypack-default-directory)
```

I'm not sure if this is wanted in ELPA or anywhere else, but I find it
very useful, and others might too.

Source can be found at https://git.sr.ht/~theo/fannypack

All the best,
Theodor Thornhil



             reply	other threads:[~2022-02-22 13:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-22 13:24 Theodor Thornhill [this message]
2022-02-22 19:11 ` [ELPA] package proposal: fannypack.el Philip Kaludercic
2022-02-22 19:40   ` Theodor Thornhill
2022-02-22 20:02     ` Philip Kaludercic
2022-02-22 21:11       ` Theodor Thornhill
2022-02-22 21:16         ` Bob Rogers
2022-02-22 21:29           ` Theodor Thornhill
2022-02-22 21:41         ` Stefan Monnier
2022-02-22 22:24           ` Theodor Thornhill
2022-02-24  4:50       ` Richard Stallman
2022-02-24  6:14         ` Theodor Thornhill
2022-02-24  6:30 ` Uwe Brauer
2022-02-24  6:43   ` Theodor Thornhill
2022-02-24  7:04     ` Uwe Brauer
2022-02-24  7:28       ` Theodor Thornhill
2022-02-24  7:41         ` Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871qzvqbjj.fsf@thornhill.no \
    --to=theo@thornhill.no \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).