Skip to content

ongaeshi/duplicate-thing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

README

Name

duplicate-thing

Description

duplicate-thing.el is Emacs lisp. Easy duplicate line or region, with comment out.

  1. Duplicate current line.
  2. Duplicate a selection when selection is active.
  3. Only C-u, replicate, comment out the range.
  4. Numerical prefix is specified as 'C-u 5': do multiple times repeatedly.

Authors

License

GPLv3

Install

;; auto-install
(auto-install-from-url "https://raw.github.com/ongaeshi/duplicate-thing/master/duplicate-thing.el")

.emacs.d/init.el

(require 'duplicate-thing)
(global-set-key (kbd "M-c") 'duplicate-thing)

Thanks

  • @a_ars: Idea, Can determine the difference between 'C-U' and 'C-U 4'
  • @k_somemo: Bug report

About

Duplicate current line. Duplicate a selection when selection is active.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •