stole a better duplicate-line function from the internet

This commit is contained in:
2012-02-11 20:50:20 +00:00
parent a379d2d9f0
commit ea6cd9d5d0
2 changed files with 21 additions and 8 deletions

View File

@@ -62,7 +62,7 @@
(global-set-key (kbd "M-n") 'textmate-column-down))
;; Duplicate line (via helpers.el)
(global-set-key (kbd "C-x C-d") 'duplicate-line)
(global-set-key (kbd "C-x C-d") 'duplicate-current-line-or-region)
;; Align to equal signs
(global-set-key (kbd "C-x a =") 'align-to-equals)