Klimi's new dotfiles with stow.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

22 linhas
593 B

5 anos atrás
  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