Comments (6)
This is because the order in which I get windows from the API. As a result of the switch operation I may add a constantly updating global list of windows sorted by which window was activated the last. In this case, I should be able to attach a hint letter to every window and keep it the same throughout its lifetime. This would also allow me to save time calculating which hint should be attached to which window which may make the hint operation faster.
from slate.
IMO, sorting that list by the window's X and Y would be more usable than giving each window a consistent hint, because particular windows churn all the time, but "the left half of my screen" stays constant.
from slate.
I can agree with that, but the problem I see is even though the "left half of my screen" remains constant the number of windows will always be changing. Thus if I choose to anchor the "beginning" of the window list to the left side of the screen, the hint for the rightmost window will be constantly changing while the hint for the leftmost window will be constant. That seems sort of silly. If I keep the hint tied to the specific window over its lifetime it may be a bit more intuitive, as at least for me I think of the content of each window rather than its location when I want to switch to it. So if I tie, for example, the terminal running my rails to "b" and I think to myself "I need to focus my rails terminal" it seems a bit more natural to just be able to hit "b" again to get to it if I've already done that once.
For now, though, keeping track of windows over their lifetime is part of the switch operation's task which will take a bit more time. So I'll implement the left-to-right ordering as a config as I still feel it would get a bit counterintuitive at times.
from slate.
also as a side note, the more windows that are open, the more overhead the left-to-right version will add as I'll have to sort the windows based on x and y coords before I can hint them. hopefully it won't reduce performance too much.
from slate.
added windowHintsOrder
config.
config windowHintsOrder leftToRight
or
config windowHintsOrder rightToLeft
or
config windowHintsOrder none
default is none
.
will be generating 0.4.19 with this fix in the next couple of minutes.
from slate.
also - performance impact seems to be minimal
from slate.
Related Issues (20)
- Grid screen overlay
- it doesn't respond, macOS Mojave 10.14.2 HOT 2
- How to fix the location of the Dock (i.e. monitor on which cmd + tab switcher is shown) in multi monitor display. HOT 1
- Hangs up for a long time after waking the machine and connecting external monitors HOT 5
- Question about javascript config
- Is there any way to distinguish Lcommand and Rcommand?
- How to know window's MINIMUM width and height?
- Specific website
- Um, how do you use it? HOT 1
- macOS Big Sur 11.1.0.1 (20B29) unresponsive window resizes HOT 5
- Slate not working on Big Sur HOT 13
- Is this project still maintained? HOT 7
- Slate not working on Big Sur HOT 6
- Ignore slate keymaps
- can't download the release package HOT 2
- Download links are not working HOT 2
- Slate stopped working in MacOS Monterey HOT 4
- Ninjamonkeysoftware.com has expired HOT 2
- Animated resizing in Visual Studio Code breaks Slate move HOT 1
- Apple Studio Display issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slate.