Klimi's new dotfiles with stow.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

22 行
593 B

  1. ;;; mc-mark-pop.el --- Pop cursors off of the mark stack
  2. (require 'multiple-cursors-core)
  3. ;;;###autoload
  4. (defun mc/mark-pop ()
  5. "Add a cursor at the current point, pop off mark ring and jump
  6. to the popped mark."
  7. (interactive)
  8. ;; If the mark happens to be at the current point, just pop that one off.
  9. (while (eql (mark) (point))
  10. (pop-mark))
  11. (mc/create-fake-cursor-at-point)
  12. (exchange-point-and-mark)
  13. (pop-mark)
  14. (mc/maybe-multiple-cursors-mode))
  15. ;; A good key binding for this feature is perhaps "C-S-p" ('p' for pop).
  16. (provide 'mc-mark-pop)
  17. ;;; mc-mark-pop.el ends here