Comments (9)
Agreed, for the default keybinding scheme this feature will not be used.
But my (not so) secret plan is to come up with an alternative set of keybindings, where the first 4 tabs can be switched between directly without first going through META+K
from notion.
I think it would be even better to show the numbers immediately when pressing the META key, if that's possible. That improves the experience when you have mapped e.g. META+1
or META+q
(or META+a
...) to switch to the first tab.
I think we can hard-code showing numbers, and don't have to look at what keys are actually configured to switch tabs - though that would be nice
from notion.
Unfortunately you can't bind to an 'abstract' modifier (like Mod4
), you have to bind to concrete keys (like Super_L
).
Proposed approach: read the xmodmap on startup and do the conversion when binding to 'abstract' modifiers to 'concrete' keys at the Notion side. Means people will have to restart Notion when they change modifier mappings, which seems reasonable.
from notion.
My gut feeling says this is a bit of a hackish workaround.
There are other ways than Xmodmap to set modifier keys, e.g. I switched from using xmodmap to using setxkbmap for everything a few years ago:
setxkbmap us \
-option caps:super \
-option compose:102 \
-option lv3:ralt_switch \
-option terminate:ctrl_alt_bksp \
-variant altgr-intl
I don't think anything but the xmodmap(1) utility should be responsible of reading/parsing ~/.Xmodmap
if that's what you're suggesting.
from notion.
My gut feeling says this is a bit of a hackish workaround.
Open to suggestions ;)
I don't think anything but the xmodmap(1) utility should be responsible of reading/parsing ~/.Xmodmap if that's what you're suggesting.
I was not thinking of parsing ~/.Xmodmap
, but using some API - not sure yet what api would be suitable for this though ;)
from notion.
The original issue (showing tab numbers you press 'META+K') has since been fixed, but there is some good discussion around the additional feature that came up in this issue (showing tab numbers when you press META) here, so let's keep this issue around to track the latter.
from notion.
I guess we should make this optional if implemented. The only context when I want to see tabhints is when I want to switch to one pressing META+K 😄
from notion.
I have META+[ and META+] for prev/next tab, and I use those pretty much exclusively ever since the tabhints disappeared.
from notion.
the tabhints should be back on the lgpl
branch (though in slightly more primitive form) - nonetheless I agree having a quicker way to reach this functionality is useful ;).
from notion.
Related Issues (20)
- OpenSnitch prompt not nicely positioned
- tiling->unsplit from the context menu crashes notion HOT 9
- compile error - libtu/locale.h:20:10: fatal error: 'libintl.h' file not found HOT 7
- Fresh install startup errors "Could not convert keysym to keycode" HOT 14
- How to change tiled-alt config? HOT 1
- Hide scratchpad when switching window to full-screen HOT 8
- __pthread_tpp_change_priority: Assertion failed HOT 10
- mod_dock: width of the *dock* area HOT 8
- EXTRA_LIBS doesn't work anymore HOT 14
- mod_notionflux: fchmod of socket always fails on FreeBSD HOT 2
- mod_xkb/xkbion: Per-window num/caps/scroll-lock?
- What exactly is mod_mgmtmode? HOT 1
- A more proper fix for the tiling->unsplit bug (#334)
- Strange behavior with Ghidra HOT 3
- Kludges for Gimp dialogs suggestions needed HOT 1
- Layout is not being saved HOT 3
- [notionwm.net] Links to Arch and Nix packages broken HOT 1
- What determines if a look is hidpi? HOT 1
- ioncore.goto_next directionals not really working in floating
- Clients mapped in fullscreen state get additional WGroupCW when switched to windowed state
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 notion.