[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: POLL: make C-x o transient
From: |
Jefferson Carpenter |
Subject: |
Re: POLL: make C-x o transient |
Date: |
Mon, 8 Feb 2021 07:13:00 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 |
On 1/24/2021 6:12 AM, Zhiwei Chen wrote:
Which will make `C-x o` invoke a transient version of `other-window' like
`text-scale-adjust’ does.
What benefits from this change:
1. Fewer keystrokes for multi windows navigation
2. Reduce the probability of RSI
3. Able to navigate windows backwards
I'm using a completely different solution. Using switch-window
(https://github.com/dimitri/switch-window) with switch-window-threshold
2 (reverts to other-window if only 1 or 2 windows are open)
The way it ends up working for more than 2 windows open is
+------+-------+
| [1] | 2 |
| | |
+------+-------+
| 3 | 4 |
| | |
+------+-------+
C-x o
+------+-------+
| 1111 | 2222 |
| 1111 | 2222 |
+------+-------+
| 3333 | 4444 |
| 3333 | 4444 |
+------+-------+
3
+------+-------+
| 1 | 2 |
| | |
+------+-------+
| [3] | 4 |
| | |
+------+-------+
So if more than 2 windows are open, C-x o replaces the window text with
a large number and I press the number of the window I want to go to.
thanks,
Jefferson