[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/bufferlo 6f3b79369f 02/37: Add README
From: |
ELPA Syncer |
Subject: |
[elpa] externals/bufferlo 6f3b79369f 02/37: Add README |
Date: |
Sun, 5 Nov 2023 09:57:31 -0500 (EST) |
branch: externals/bufferlo
commit 6f3b79369fabbde8b64182511ef1ba57f6bc8466
Author: Florian Rommel <mail@florommel.de>
Commit: Florian Rommel <mail@florommel.de>
Add README
---
README.org | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
diff --git a/README.org b/README.org
new file mode 100644
index 0000000000..90aa66319c
--- /dev/null
+++ b/README.org
@@ -0,0 +1,68 @@
+#+TITLE: bufferlo.el - Manage frame/tab-local buffer lists
+#+AUTHOR: Florian Rommel
+#+LANGUAGE: en
+
+* Introduction
+
+Bufferlo manages buffer lists that are local to the frame or (tab-bar)
+tab. It uses the existing buffer-list frame parameter and provides
+commands to manipulate this list.
+
+Bufferlo does not touch the global buffer list or any existing
+buffer-management facilities (buffer-menu, ibuffer, switch-to-buffer).
+Use the equivalent bufferlo variants to work with the frame/tab local
+buffer list.
+
+This is similar to the now unmaintained
[[https://github.com/alpaker/frame-bufs][frame-bufs]] package but is
+compatible with (tab-bar) tabs and supports desktop.el.
+
+
+* Installation
+
+Put ~bufferlo.el~ in your load path and require it in your init file:
+#+BEGIN_SRC emacs-lisp
+(require 'bufferlo)
+#+END_SRC
+
+Enable ~bufferlo-mode~ in your init file order to enable the configuration
+and desktop support
+#+BEGIN_SRC emacs-lisp
+(bufferlo-mode 1)
+#+END_SRC
+
+Or use use-package:
+#+BEGIN_SRC emacs-lisp
+(use-package bufferlo
+ :config
+ (bufferlo-mode 1))
+#+END_SRC
+
+
+* Usage
+
+Use the bufferlo buffer-list commands an alternative to the respective
+global commands.
+
+Use ~bufferlo-{clear,remove,bury}~ to manage the frame/tab-local list.
+A buffer is added to the local buffer-list if it is shown in the frame/tab.
+
+It is recommended to combine bufferlo with a completion framework.
+This is an example source for consult-buffer:
+#+begin_src emacs-lisp
+(defvar my-consult--source-local-buffer
+ `(:name "Local Buffers"
+ :narrow ?l ;; toggle local buffers with <l>
+ :hidden t ;; set to nil to always show the local buffers
+ ;; (For this being effective, you should also
+ ;; define a hidden global buffer source)
+ :category buffer
+ :face consult-buffer
+ :history buffer-name-history
+ :state ,#'consult--buffer-state
+ :default nil
+ :items ,(lambda () (consult--buffer-query
+ :predicate #'bufferlo-local-buffer-p
+ :sort 'visibility
+ :as #'buffer-name)))
+#+end_src
+Add ~my-consult--source-local-buffer~ to your consult-buffer-sources list.
- [elpa] externals/bufferlo 1dd04e4b41 14/37: Better ibuffer support, (continued)
- [elpa] externals/bufferlo 1dd04e4b41 14/37: Better ibuffer support, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo c164b26a64 36/37: Compatibility improvements, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo 82f51c31ab 23/37: desktop.el support: Fix error on deleted windows, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo 8f82be00b1 30/37: Add basic buffer-menu support, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo 914c381e9f 16/37: Fix buffer matching, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo 46557c7f54 04/37: Minor changes, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo c000ff8398 09/37: Add bufferlo-non-local-buffer-p, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo 23cbe682c4 15/37: More parameters, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo fbec2df3bd 28/37: Fix undelete-frame, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo 598e20cf3b 31/37: Fix tab duplication on emacs < 29, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo 6f3b79369f 02/37: Add README,
ELPA Syncer <=
- [elpa] externals/bufferlo 83586af819 07/37: Fix empty buffer list, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo d74f2c1ece 21/37: Add bufferlo-remove-non-exclusive-buffers, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo 2fc945a81b 10/37: Update README, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo 79eba76029 06/37: Include buried buffers, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo ecae697601 18/37: Fix local ibuffer buffer name, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo 2bcbde24be 29/37: Update documentation, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo 6d27fbd704 37/37: Add COPYING to elpaignore, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo 1c16e19694 25/37: Fix frame predicate to include hidden buffers, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo 795ef9e937 13/37: Fix README, ELPA Syncer, 2023/11/05
- [elpa] externals/bufferlo 1660b52975 24/37: Cleanup documentation, ELPA Syncer, 2023/11/05