From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-cycle Collapse and Expand Date: Thu, 12 Jul 2012 08:30:41 +0200 Message-ID: <87a9z5v6cu.fsf@gnu.org> References: <873952aak3.fsf@quasar.esben-stien.name> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpCuh-0000uK-Fs for emacs-orgmode@gnu.org; Thu, 12 Jul 2012 02:30:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SpCud-0007ca-Am for emacs-orgmode@gnu.org; Thu, 12 Jul 2012 02:30:11 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:42652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpCud-0007Zg-3Y for emacs-orgmode@gnu.org; Thu, 12 Jul 2012 02:30:07 -0400 Received: by wibhm2 with SMTP id hm2so4769967wib.0 for ; Wed, 11 Jul 2012 23:30:05 -0700 (PDT) In-Reply-To: <873952aak3.fsf@quasar.esben-stien.name> (Esben Stien's message of "Sun, 08 Jul 2012 11:04:12 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Esben Stien Cc: emacs-orgmode@gnu.org Hi Esben, Esben Stien writes: > I'd like it to just expand and collapse the current node. There is `org-show-subtree'. You can create a new key binding like this: (org-defkey org-mode-map "\C-c\C-S" 'org-show-subtree) Then TAB and C-cC-S to expand/collapse. HTH, -- Bastien