Variable: mc-hide-unmatched-lines-mode

mc-hide-unmatched-lines-mode is a buffer-local variable defined in mc-hide-unmatched-lines-mode.el.

Documentation

Non-nil if Mc-Hide-Unmatched-Lines mode is enabled.

Use the command mc-hide-unmatched-lines-mode(var)/mc-hide-unmatched-lines-mode(fun) to change this variable.

Key Bindings

mc/keymap C-'

Source Code

;; Defined in /nix/store/5q7a78ihkz25lf4xmxaa9m7b2ym63m36-emacs-packages-deps/share/emacs/site-lisp/elpa/multiple-cursors-20260419.931/mc-hide-unmatched-lines-mode.el
;;;###autoload
(define-minor-mode mc-hide-unmatched-lines-mode
  "Minor mode when enabled hides all lines where no cursors (and
also hum/lines-to-expand below and above) To make use of this
mode press \"C-'\" while multiple-cursor-mode is active. You can
still edit lines while you are in mc-hide-unmatched-lines
mode. To leave this mode press <return> or \"C-g\""
  :init-value nil
  :lighter " hu"
  :keymap hum/hide-unmatched-lines-mode-map
  (if mc-hide-unmatched-lines-mode
      ;;just in case if mc mode will be disabled while hide-unmatched-lines is active
      (progn
        (hum/hide-unmatched-lines)
        (add-hook 'multiple-cursors-mode-disabled-hook #'hum/disable-hum-mode t t))
    (progn
      (hum/unhide-unmatched-lines)
      (remove-hook 'multiple-cursors-mode-disabled-hook #'hum/disable-hum-mode))))