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