duplicate-thing
duplicate-thing copied to clipboard
Duplicate current line. Duplicate a selection when selection is active.
README
Name
duplicate-thing
Description
duplicate-thing.el is Emacs lisp. Easy duplicate line or region, with comment out.
- Duplicate current line.
- Duplicate a selection when selection is active.
- Only C-u, replicate, comment out the range.
- Numerical prefix is specified as 'C-u 5': do multiple times repeatedly.
Authors
- ongaeshi [email protected]
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