antham / anyins

Insert content at multiple places from shell command or kill-ring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Anyins Build Status MELPA

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 :

(add-to-list 'load-path "/path/to/anyins")
(require 'anyins)

Usage

You can map anyins-mode command to key to start anyins-mode easily :

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

About

Insert content at multiple places from shell command or kill-ring

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 55.8%Language:Gherkin 41.9%Language:Makefile 2.3%