diff options
| author | Tslil Clingman <1778139+tslilc@users.noreply.github.com> | 2018-08-16 22:38:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-16 22:38:36 -0400 |
| commit | ce660e20afad8ffafd5d9e84e0990b8fadb3b963 (patch) | |
| tree | 98b888489e24a8b232daf34b8c88eec1ae8826e9 | |
| parent | 36c190d0569aa5640ac649ed359cb893872afd2a (diff) | |
| parent | b3f5f28f7f02e8470b061c209733820a81c0456a (diff) | |
Merge pull request #4 from seblemaguer/master
Make siege-mode.el more package complient
| -rw-r--r-- | README.md | 12 | ||||
| -rw-r--r-- | siege-mode.el | 11 |
2 files changed, 18 insertions, 5 deletions
@@ -16,13 +16,23 @@ by calling `siege-explicit-call`, bound to "M-s M-s". All changes are dynamically displayed in the buffer (see `siege-preview-face`) and may be committed by "Ret" in the minibuffer. It is also possible to commit -the input on "space" as set by `siege-default-end-on-space` and toggled by +the input on "space" as set by `siege-default-end-on-space` and toggled by "C-c s" in the minibuffer. By default siege-mode understands the usual delimeter pairs, as well as latex LaTeX begin/end pairs and left/right pairs. Moreover, for ease of use it will pair both `_{` and `^{` with `}` by default. +## Installation + +To install the package, you use [quelpa-use-package](https://github.com/quelpa/quelpa-use-package/) + +```elisp + (use-package siege-mode + :ensure quelpa + :quelpa (siege-mode :repo "tslilc/siege-mode" :fetcher github)) +``` + ## License GPL v3+ diff --git a/siege-mode.el b/siege-mode.el index 9313d3c..7e8f67f 100644 --- a/siege-mode.el +++ b/siege-mode.el @@ -1,12 +1,15 @@ -;;; Package --- Surround region with smart delimiters interactively -;; Time-stamp: <2018-07-10 18:33:54 (tslil)> +;;; siege-mode.el --- Surround region with smart delimiters interactively ;; Copyright (c) 2018 tslil clingman ;; Author: tslil clingman <tslil@posteo.de> ;; Version: 2.2 +;; Package-Version: 20180710.1841 ;; Package-Requires: ((emacs "24.4")) -;; Keywords: region wrap +;; URL: https://github.com/tslilc/siege-mode +;; Keywords: convenience region wrap + +;; This file is NOT part of GNU Emacs. ;;; License: @@ -24,7 +27,7 @@ ;;; Commentary: ;; Lay siege to the region from both sides! -;; +;; ;; When the region is active, most input* is redirected to the minibuffer and ;; treated as a delimiter for the region. The input is used as the left ;; delimiter from which the right one is derived using `siege-transform-regexs' |
