An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Anyins [![Build Status](https://travis-ci.org/antham/anyins.png?branch=master)](https://travis-ci.org/antham/anyins) [![MELPA](http://melpa.org/packages/anyins-badge.svg)](http://melpa.org/#/anyins)

Insert content either from kill-ring or from shell command result at marked point or vertically like rectangular do.

![](https://antham.github.io/anyins/anyins.gif)

### 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.