Klimi's new dotfiles with stow.
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

22 righe
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