diff --git a/global.org b/global.org index 9c40b22..7cda59c 100644 --- a/global.org +++ b/global.org @@ -3296,6 +3296,26 @@ ("C-c C-\\" . mc/mark-all-dwim) ("C-c " . mc/mark-pop) ("C-c " . mc/mark-pop))) + + (defhydra cqql-multiple-cursors-hydra (:hint nil) + " + ^Up^ ^Down^ ^Miscellaneous^ + ---------------------------------------------- + [_p_] Next [_n_] Next [_l_] Edit lines + [_P_] Skip [_N_] Skip [_a_] Mark all + [_M-p_] Unmark [_M-n_] Unmark [_q_] Quit" + ("l" mc/edit-lines :exit t) + ("a" mc/mark-all-like-this :exit t) + ("n" mc/mark-next-like-this) + ("N" mc/skip-to-next-like-this) + ("M-n" mc/unmark-next-like-this) + ("p" mc/mark-previous-like-this) + ("P" mc/skip-to-previous-like-this) + ("M-p" mc/unmark-previous-like-this) + ("q" nil)) + + (global-set-key (kbd "C-c \\") 'cqql-multiple-cursors-hydra/body) + #+end_src ** =avy= This packages allows fast navigation and action-ing