Recently Written · git

slurp

Spacemacs layer for slurping, inserting, copying, etc. of buffers (keybind layer).

git clone https://github.com/equwal/slurp

Log | Files | Refs


commit 176ecb35ff6bf43a73251ad28e12a7a89dfd6dba
Spenser Truex <spensertruexonline@gmail.com>
2019-07-03 13:42:49 -0700

Add keybindings.

 README.org |  36 ++++++++++++++++++------------------
 slurp.png  | Bin 0 -> 2138 bytes
 2 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/README.org b/README.org
index 79ff408..0a09111 100644
--- a/README.org
+++ b/README.org
@@ -1,30 +1,30 @@
-#+TITLE: slurp layer
+#+TITLE: SLURP your buffers/files into each other!
 
-# The maximum height of the logo should be 200 pixels.
-[[img/slurp.png]]
+[[slurp.png]]
 
-# TOC links should be GitHub style anchors.
 * Table of Contents                                        :TOC_4_gh:noexport:
 - [[#description][Description]]
-- [[#install][Install]]
 - [[#key-bindings][Key bindings]]
+- [[#install][Install]]
 
 * Description
-This layer does wonderful things:
-  - thing01
+To slurp is the quest of many an Emacser. While vim has the =:r= and =:r!=,
+emacs has other slurping tools, allowing for prepending, appending, inserting, and copying =buffers= too!
+
+* Key bindings
+
+=SPC i[nsert] b[uffer]= is the intended mnemonic.
+
+| Key Binding | Description                             |
+|-------------+-----------------------------------------|
+| ~SPC i b <~ | prepend-to-buffer                       |
+| ~SPC i b >~ | append-to-buffer                        |
+| ~SPC i b i~ | insert-[another buffer into this]buffer |
+| ~SPC i b c~ | copy-buffer                             |
+| ~SPC i b f~ | amend-to-file                           |
+
 
 * Install
 To use this configuration layer, add it to your =~/.spacemacs=. You will need to
 add =slurp= to the existing =dotspacemacs-configuration-layers= list in this
 file.
-
-* Key bindings
-
-| Key Binding | Description    |
-|-------------+----------------|
-| ~SPC x x x~ | Does thing01   |
-# Use GitHub URLs if you wish to link a Spacemacs documentation file or its heading.
-# Examples:
-# [[https://github.com/syl20bnr/spacemacs/blob/master/doc/VIMUSERS.org#sessions]]
-# [[https://github.com/syl20bnr/spacemacs/blob/master/layers/%2Bfun/emoji/README.org][Link to Emoji layer README.org]]
-# If space-doc-mode is enabled, Spacemacs will open a local copy of the linked file.
diff --git a/slurp.png b/slurp.png
new file mode 100644
index 0000000..362bee9
Binary files /dev/null and b/slurp.png differ