[英]Emacs, How can I display only current task and hide others in org-mode?
Org-mode.组织模式。
I have a big tasks tree and I want to select only 1 in buffer (write notes just for it) and hide others while editing.我有一个很大的任务树,我只想在缓冲区中选择 1 个(只为它写笔记)并在编辑时隐藏其他人。
How can I do this?我怎样才能做到这一点?
task-1
subtask-1.1
subtask-1.2
task-2
subtask2.1
...
...
For example I want to display for me only:例如,我只想为我显示:
subtask-1.2
(notes for this subtask)
Use narrow-to-defun
or org-narrow-to-subtree
command with point in task.将
narrow-to-defun
或org-narrow-to-subtree
命令与任务点一起使用。 ( widen
to move back to whole buffer content). (
widen
以移回整个缓冲区内容)。
Default shortcuts:默认快捷键:
C-x n s # org-narrow-to-subtree (bound in org-mode)
C-x n d # narrow-to-defun
C-x n w # widen
您还有org-tree-to-indirect-buffer
或Cc Cx b
,它将创建一个仅包含此子树的新缓冲区,并将一个缓冲区中的任何更改反映到另一个缓冲区中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.