all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Samuel Banya" <sbanya@fastmail.com>
To: "Emanuel Berg" <help-gnu-emacs@gnu.org>
Subject: Re: Swap windows in a frame
Date: Sun, 09 Jan 2022 23:29:20 -0500	[thread overview]
Message-ID: <06280c73-275b-4e87-8efa-9ebbc032a3b3@www.fastmail.com> (raw)
In-Reply-To: <87y23ojlog.fsf@codeisgreat.org>

Not sure if it helps, but take a look at my config, as you're going to probably have to make some custom Elisp function to do some good swapping.

Download my config and open it up in Org Mode, and find the section on window management, as I have a few swapping functions you might want to steal:

https://git.musimatic.xyz/dotfiles/tree/emacs/.emacs.d

More specifically, here's my config:
https://git.musimatic.xyz/dotfiles/tree/emacs/.emacs.d/configuration.org 

Sincerely,

Sam
On Sun, Jan 9, 2022, at 10:48 PM, Pankaj Jangid wrote:
> I have two windows in a frame. Is there a command to swap their
> location?
> 
> I have a wide configuration and windows are left and right. Left is
> where I work mostly and is in front of eyes. Right is for reference and
> for occasional use. Sometimes, due to some commands, the work window
> goes to right. And I want swap its location with the other buffer
> window. How can I do that?
> 
> Regards
> Pankaj
> 
> 
> 


  reply	other threads:[~2022-01-10  4:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-10  3:48 Swap windows in a frame Pankaj Jangid
2022-01-10  4:29 ` Samuel Banya [this message]
2022-01-10  5:10   ` Pankaj Jangid
2022-01-10  5:05 ` Yuri Khan
2022-01-10  6:27   ` Pankaj Jangid
2022-01-10 13:51     ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-01-10 16:39       ` Pankaj Jangid
2022-01-11 23:53         ` Ergus via Users list for the GNU Emacs text editor
2022-01-12  4:54           ` Pankaj Jangid
2022-01-12 21:05           ` Emanuel Berg via Users list for the GNU Emacs text editor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=06280c73-275b-4e87-8efa-9ebbc032a3b3@www.fastmail.com \
    --to=sbanya@fastmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.