From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: notbob Newsgroups: gmane.emacs.help Subject: Re: [ shell buffer ] How not to split the current window? Date: 30 Aug 2017 23:23:52 GMT Message-ID: References: <87k21lp2sh.fsf@127.0.0.1> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1504135546 26866 195.159.176.226 (30 Aug 2017 23:25:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 Aug 2017 23:25:46 +0000 (UTC) User-Agent: slrn/1.0.1 (Linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 31 01:25:43 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnCMT-0005xg-95 for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Aug 2017 01:25:29 +0200 Original-Received: from localhost ([::1]:53197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnCMV-0000rC-GI for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Aug 2017 19:25:31 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-X-Trace: individual.net qPYA6YYfzc+O0VUNhxpJTwASs4O7S0XBEy6J6/qzCP5GDBqspR Cancel-Lock: sha1:3VrOPntFzAghvuyQR7qdNtx5dWk= Original-Xref: usenet.stanford.edu gnu.emacs.help:220032 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114136 Archived-At: On 2017-08-30, Oleg Pykhalov wrote: > Also you could make a key binding to (switch-to-buffer "*shell*"). It already exists. C-x C-o (small oh) will move the cursor to the "other" window, whatever that other window may be. This can be invoked indefinitely between the two open windows, moving the cursor back and forth between the two, while leaving both windows open. If you use C-x C-0 (zero), it will move the cursor to the "other" window and CLOSE the window the cursor is currently in. C-x C-1 (one) will CLOSEY the other window while keeping current window open and the cursor in the window the cursor is currently in. Whew! I don't know much about emacs, but I do know that! ;) nb