duplicate-thing
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.
- ongaeshi [email protected]
GPLv3
;; auto-install
(auto-install-from-url "https://raw.github.com/ongaeshi/duplicate-thing/master/duplicate-thing.el")
(require 'duplicate-thing)
(global-set-key (kbd "M-c") 'duplicate-thing)
- @a_ars: Idea, Can determine the difference between 'C-U' and 'C-U 4'
- @k_somemo: Bug report