https://github.com/manateelazycat/move-text
Move current line or region
https://github.com/manateelazycat/move-text
Last synced: 8 months ago
JSON representation
Move current line or region
- Host: GitHub
- URL: https://github.com/manateelazycat/move-text
- Owner: manateelazycat
- Created: 2019-03-16T14:12:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-23T15:10:44.000Z (over 6 years ago)
- Last Synced: 2024-12-30T19:35:12.600Z (10 months ago)
- Language: Emacs Lisp
- Size: 1.95 KB
- Stars: 6
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What is move-text.el ?
Move current line or region.## Installation
Clone or download this repository (path of the folder is the `` used below).In your `~/.emacs`, add the following two lines:
```Elisp
(add-to-list 'load-path "") ; add move-text to your load-path
(require 'move-text)
```## Usage
Bind your favorite key to functions:| Function | Description |
| :-------- | :---- |
| move-text-up | Move current line or region up |
| move-text-down | Move current line or region down |