diff options
| author | Oleg Pykhalov <go.wigust@gmail.com> | 2017-10-01 20:55:58 +0300 |
|---|---|---|
| committer | Oleg Pykhalov <go.wigust@gmail.com> | 2017-10-01 20:55:58 +0300 |
| commit | f06758c5545e82734cf4ec9a0dff02c492a8f23e (patch) | |
| tree | d7e43b860d861acfe81ee21748fe4b717dac6a51 | |
| parent | wigust: Update emacs-checkout to 25.3-1.6122596. (diff) | |
| download | guix-wigust-f06758c5545e82734cf4ec9a0dff02c492a8f23e.tar.gz | |
wigust: Add emacs-move-text.
* wigust/packages/emacs.scm (emacs-move-text): New variable.
| -rw-r--r-- | wigust/packages/emacs.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/wigust/packages/emacs.scm b/wigust/packages/emacs.scm index de6c13b..9a3bb58 100644 --- a/wigust/packages/emacs.scm +++ b/wigust/packages/emacs.scm @@ -1759,3 +1759,44 @@ setup like below: (setq irfc-assoc-mode t)") (license license:gpl3+))) + +(define-public emacs-move-text + (package + (name "emacs-move-text") + (version "2.0.8") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/emacsfodder/move-text/archive/" + version ".tar.gz")) + (sha256 + (base32 + "1sjfja9r25692pgcldgnjzkapzy970m14jh9l4pajysiqcdk72g0")))) + (build-system emacs-build-system) + (home-page "https://github.com/emacsfodder/move-text") + (synopsis "Move current line or region with M-up or M-down") + (description "MoveText is a re-write of the old move-text and +compatible with >= Emacs 25.1 + +It allows you to move the current line using M-up / M-down if a region +is marked, it will move the region instead. + +Using the prefix (C-u *number* or META *number*) you can predefine how +many lines move-text will travel. + + +Installation: + +Put move-text.el to your load-path. +The load-path is usually ~/elisp/. +It's set in your ~/.emacs like this: +(add-to-list 'load-path (expand-file-name \"~/elisp\")) +\nAnd the following to your ~/.emacs startup file. + +(require 'move-text) +(move-text-default-bindings) + +Acknowledgements: + + Original v1.x was a Feature extracted from basic-edit-toolkit.el - by Andy Stewart (LazyCat) ") + (license license:gpl3+))) |
