https://github.com/antham/anyins
Insert content at multiple places from shell command or kill-ring
https://github.com/antham/anyins
Last synced: 3 months ago
JSON representation
Insert content at multiple places from shell command or kill-ring
- Host: GitHub
- URL: https://github.com/antham/anyins
- Owner: antham
- License: gpl-3.0
- Created: 2013-12-11T22:30:29.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-05-14T09:28:59.000Z (about 11 years ago)
- Last Synced: 2024-12-31T21:12:17.378Z (over 1 year ago)
- Language: Emacs Lisp
- Homepage:
- Size: 667 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Anyins [](https://travis-ci.org/antham/anyins) [](http://melpa.org/#/anyins)
Insert content either from kill-ring or from shell command result at marked point or vertically like rectangular do.

### Install
You can use melpa:
M-x package-install RET anyins
or you can pull it from here and you have to add in your emacs config :
```elisp
(add-to-list 'load-path "/path/to/anyins")
(require 'anyins)
```
### Usage
You can map `anyins-mode` command to key to start anyins-mode easily :
```elisp
(global-set-key (kbd "C-c a") 'anyins-mode)
```
When you turn anyins-mode on, you can press RET to mark point in buffer where you want to insert some contents. After that press ! to insert result from a shell command or press y to insert last entry in kill-ring. q will stop anyins-mode leaving everything untouched.
Newline is used as delimitor to split content to insert and content is inserted in same order of recording.
### Commands
Keybinding | Description
-------------------|------------------------------------------------------------
RET | Mark current point in buffer.
y | Insert last entry from kill-ring.
! | Insert shell command result.
q | Abort anyins-mode.