Browse Source

Merge branch 'master' of github.com:bbatsov/prelude

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
custom
Bozhidar Batsov 13 years ago
parent
commit
d4801063de
  1. 8
      prelude/prelude-core.el

8
prelude/prelude-core.el

@ -103,21 +103,21 @@ the curson at its beginning, according to the current mode."
(interactive)
(move-end-of-line nil)
(open-line 1)
(next-line 1)
(forward-line 1)
(indent-according-to-mode))
(defun prelude-move-line-up ()
"Move up the current line."
(interactive)
(transpose-lines 1)
(previous-line 2))
(forward-line -2))
(defun prelude-move-line-down ()
"Move down the current line."
(interactive)
(next-line 1)
(forward-line 1)
(transpose-lines 1)
(previous-line 1))
(forward-line -1))
;; add the ability to copy and cut the current line, without marking it
(defadvice kill-ring-save (before slick-copy activate compile)

Loading…
Cancel
Save