Skip to content

Commit 18ef344

Browse files
committed
Keyboard shortcut (C-%) for deactivating/reactivating
1 parent 457db9b commit 18ef344

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

TeXmacs/progs/generic/generic-kbd.scm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@
409409
("C-!" (cursor-history-add (cursor-path)))
410410
("C-#" (numbered-toggle (focus-tree)))
411411
("C-*" (alternate-toggle (focus-tree)))
412+
("C-%" (inactive-toggle (focus-tree)))
412413
("C-+" (zoom-in (sqrt (sqrt 2.0))))
413414
("C--" (zoom-out (sqrt (sqrt 2.0))))
414415
("C-0" (change-zoom-factor 1.0))

TeXmacs/progs/generic/generic-menu.scm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@
464464
(alternate-toggle (focus-tree))))
465465
(assuming (!= (tree-children t) (tree-accessible-children t))
466466
((check "Show hidden" "v" (tree-is? t :up 'inactive))
467-
(inactive-toggle t))))
467+
(inactive-toggle (focus-tree)))))
468468

469469
(tm-menu (focus-float-menu t))
470470
(tm-menu (focus-animate-menu t))
@@ -629,7 +629,7 @@
629629
(assuming (!= (tree-children t) (tree-accessible-children t))
630630
((check (balloon (icon "tm_show_hidden.xpm") "Show hidden") "v"
631631
(tree-is? t :up 'inactive))
632-
(inactive-toggle t))))
632+
(inactive-toggle (focus-tree)))))
633633

634634
(tm-menu (focus-float-icons t))
635635
(tm-menu (focus-animate-icons t))

0 commit comments

Comments
 (0)