TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Function keys productivity trick

149 点作者 mxgrn超过 2 年前

60 条评论

hprotagonist超过 2 年前
~&#x2F;.config&#x2F;i3&#x2F;config:<p><pre><code> # emacsclient set $em_daemon ~&#x2F;.local&#x2F;bin&#x2F;em # make a quick launcher for specific things I do all the time bindsym $mod+o mode &quot;spotlight&quot; mode &quot;spotlight&quot; { ## specific files in a new emacs buffer # dired in home bindsym d exec $em_daemon ~&#x2F;; mode &quot;default&quot; # ibuffer bindsym e exec $em_daemon --eval &quot;(ibuffer)&quot;; mode &quot;default&quot; # # guaranteed new scratch buffer bindsym s exec $em_daemon --eval &#x27;(switch-to-buffer (format-time-string &quot;%d %b %Y %H:%M:%S&quot;))&#x27;; mode &quot;default&quot; ## common binaries bindsym f exec firefox ; mode &quot;default&quot; bindsym h exec --no-startup-id zeal ; mode &quot;default&quot; bindsym j exec --no-startup-id ~&#x2F;.local&#x2F;share&#x2F;JetBrains&#x2F;Toolbox&#x2F;bin&#x2F;jetbrains-toolbox ; mode &quot;default&quot; bindsym m exec --no-startup-id mendeley ; mode &quot;default&quot; bindsym k exec --no-startup-id keepassxc ; mode &quot;default&quot; ## special launchers # ipython bindsym i exec zsh -c &#x27;$alacritty -e ~&#x2F;.local&#x2F;pipx&#x2F;venvs&#x2F;ipython&#x2F;bin&#x2F;ipython&#x27;; mode &quot;default&quot; # app switcher bindsym a exec &quot;rofi -show window -show-icons -theme gruvbox-dark-hard.rasi&quot;; mode &quot;default&quot; ## just in case we did this by mistake bindsym Escape mode &quot;default&quot; }</code></pre>
评论 #34249681 未加载
评论 #34246138 未加载
评论 #34249643 未加载
评论 #34254441 未加载
评论 #34253402 未加载
评论 #34254579 未加载
评论 #34251442 未加载
teo_zero超过 2 年前
I couldn&#x27;t disagree more.<p>My mental sanity depends on some fixed beliefs. One of those is that every key sequence not involving the Win key is sent to and handled by the application in focus. Including F-keys, which many applications expect, in any case. Ex: F2=edit cell, F9=recalculate in Excel.<p>Global actions handled by the SO or DE must involve Win. Ex: Win+L lock screen.<p>And yes, Redmond-imposed Alt-Tab is an abomination: it should have been Win+Tab since the beginning.<p>The workflow you&#x27;re proposing could be easily achieved with Win+ a carefully chosen letter. Benefits: 1. the letter is easier to remember; 2. You have 20-something free slots instead of 12 (excluding the ones that are already taken for standard actions like L for lock); 3. Most probably your fingers are already there and you have muscles memory of where the letters are; 4. Consistent, expected behavior of where keys are sent to.
评论 #34251653 未加载
评论 #34250299 未加载
评论 #34252188 未加载
评论 #34256603 未加载
评论 #34252034 未加载
评论 #34251031 未加载
评论 #34256454 未加载
评论 #34250122 未加载
SkeuomorphicBee超过 2 年前
In this kind of discussion people often focus solely on frequent actions, but there is one class of action that should have priority for the limited keys: the infrequent urgent. That is, tasks that don&#x27;t happen that often, but when they do they are very urgent. For me the best example is the sound volume controls, I don&#x27;t change sound volume nearly as often as I alternate between apps, but when I need to change the sound volume I need it right now, so that is what I&#x27;m using my F-keys for.
评论 #34246989 未加载
评论 #34247400 未加载
the_gipsy超过 2 年前
No, you&#x27;re using the computer wrong. See, you should use a tiling window manager with several workspaces and shortcuts without having to look at your keyboard, e.g. Meta+4 to go to workspace 4 where you have your chat apps.
评论 #34249368 未加载
评论 #34247757 未加载
评论 #34246483 未加载
评论 #34248020 未加载
评论 #34246430 未加载
评论 #34250439 未加载
评论 #34247948 未加载
评论 #34247314 未加载
评论 #34247255 未加载
评论 #34247276 未加载
评论 #34253707 未加载
评论 #34249259 未加载
评论 #34248108 未加载
awelxtr超过 2 年前
Windows users can do this by pressing Win+digit with open apps or apps you have pinned on the task bar.<p>Linux Mint, as with many other windows shortcuts, has this also
评论 #34246124 未加载
评论 #34245619 未加载
评论 #34245636 未加载
评论 #34248478 未加载
评论 #34246956 未加载
评论 #34252832 未加载
alikrhlwirjnklj超过 2 年前
&gt; You&#x27;re using function keys wrong<p>You are using computers wrong.<p>Apple is the only one that lacks this. Windows and most linux WM have this for at least 20 years!<p>windows you just use WIN+[1,2,3,4...] to alternate between your quick launch apps.<p>Linux obviously you have a myriad of options. Including the top comment here now about using virtual desktops which is even better than application (but you can mix them too!)<p>And all that while <i>still keeping your Fkeys</i> functionality on each application!<p>The time I was forced to use a Mac for development was the time my productivity was lowest and frustration highest.<p>I&#x27;m fully convinced that Macs exist only because managers (and wanna be managers) make those decisions. Not to mention i&#x27;ve worked on employeer provided apple, dell, hp, lenovos... macs were the only ones i had to send to IT with failing keyboards, dead screens, etc.
评论 #34250538 未加载
chrismorgan超过 2 年前
While talking of function keys—<p>My greatest annoyance with keyboards is that Fn keys (as found to one side of the left Ctrl&#x2F;Control key; ubiquitous on laptops and common on other keyboards) are <i>always</i> implemented in firmware, and simply don’t do anything with most of the keys, but implement them in such a way that <i>I</i> can’t either.<p>My laptop’s keyboard has one Fn key, and 82 others.¹ I can only use Fn with 20 of them—one is legitimately handled in firmware², one does nothing³, two emit combos⁴, and 16 emit distinct key codes. The remaining 62 keys? They just get passed through as though I weren’t holding down the Fn key.<p>I really wish I could use that Fn key just as a regular additional modifier. I use Super+[hjkl] in my tiling window manager, why can’t I use Fn+[hjkl] instead if I want to?<p>Yes, I know that shifting it all from firmware to driver would cause inconvenience in some situations. Look, perhaps we could at least <i>begin</i> by adding a key code for Fn when it’s tapped by itself or with any of the 62 keys. I dunno, Hyper or something (is Hyper a thing at that level? or is there some other extra modifier available?). That’s sufficiently pragmatic, right?<p>—⁂—<p>¹ Asus Zephyrus G15 (2021), GA503QM. I included the power button as one of the 82 keys, as I use it that way: I have XF86PowerOff switch to a Sway&#x2F;i3 mode where pressing it again shuts down, r reboots, h hibernates, <i>&amp;c.</i> It’s fun being like most projectors with their “press the power button again to show you actually meant it”. But you know my favourite key on the keyboard? XF86AudioMicMute. Really not looking forward to the inevitable day when I get a laptop without one again.<p>² Fn+Super disables&#x2F;enables the Super key. Windows things. Wish I could disable this feature, because just <i>occasionally</i> I accidentally trigger it, and I will never want it.<p>³ As far as I can tell, Fn+Space just gets swallowed. evtest on the appropriate &#x2F;dev&#x2F;input&#x2F;event* file doesn’t show anything being emitted.<p>⁴ Fn+F6 = Super+Shift+S, and Fn+F9 = Super+P, because those are standard Windows shortcuts. I don’t get why they did it this way, though they’re both <i>very</i> common, given how much more interesting stuff they’ve done than most others. Mostly I’m just grumbling about duplicates because I already want Super+P to do something else, so now Fn+F9 is a dead weight, though I would otherwise have used it.
评论 #34247248 未加载
hbn超过 2 年前
Can people hit their function keys without looking at the keyboard? Sure, hitting F5 to go to your terminal is less keystrokes than e.g. Cmd+tab+tab, but I can&#x27;t hit anything in the function row without glancing down at my keyboard. And I put a lot of value in looking at my keyboard as little as possible
评论 #34246310 未加载
评论 #34245980 未加载
评论 #34245896 未加载
评论 #34245905 未加载
评论 #34249680 未加载
评论 #34245926 未加载
评论 #34255647 未加载
boomskats超过 2 年前
For my Gnomies, the Run-or-raise extension [0] is stellar. It does exactly what it says: you bind a key combo to a launcher command, and optionally define a windowname or wm_class query to check for the existence of the program before it&#x27;s launched. If it&#x27;s running it&#x27;s raised, if it&#x27;s not then it&#x27;s run. It has options for the window behaviour after toggling, optionally minimising the programs etc.<p>I can&#x27;t rate it highly enough. It helped me finally step away from my decade-long i3wm-adhd addition, where everything else failed.<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;CZ-NIC&#x2F;run-or-raise">https:&#x2F;&#x2F;github.com&#x2F;CZ-NIC&#x2F;run-or-raise</a>
mcc1ane超过 2 年前
So, let&#x27;s say F2 does something important in an open app (e.g. &quot;Rename file&quot; in Explorer) - does that mean it would not work anymore?<p>Or am I missing something obvious?
评论 #34245957 未加载
评论 #34248353 未加载
评论 #34248505 未加载
wink超过 2 年前
This is not too different to how I&#x27;ve been using tiling window managers for the last decade.<p>There 9 or 10 virtual desktops which are accessed with WIN+1-0.<p>1 is for shells, 2 is the IDE, 3&#x2F;4 are browsers, 6 is administrative stuff, usually a root shell, 0 is for zoom, 5,7,8 are less defined or just &quot;whatever doesn&#x27;t fit&quot;. In addition I&#x27;m using the multi-monitor switching from xmonad in i3 (i.e. if I have [1] on the left and [2] on the right screen, when I activate [1] while on the right one, they switch places, if I activate [3], then it will replace [2] and [1] stays on the left one).<p>It sounds very pedantic but I don&#x27;t even have to think when context switching and it&#x27;s made my life a lot easier. Interestingly it doesn&#x27;t work as well on my private computer because (to no one&#x27;s surprise) I am using many more GUI tools and do different things when not working.
yankcrime超过 2 年前
For the macOS folks, I prefer rcmd to accomplish the same thing with less cognitive overhead: <a href="https:&#x2F;&#x2F;lowtechguys.com&#x2F;rcmd&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lowtechguys.com&#x2F;rcmd&#x2F;</a>
评论 #34247056 未加载
评论 #34249024 未加载
评论 #34247040 未加载
nahuel0x超过 2 年前
If macOS didn&#x27;t added a very annoying fade-out&#x2F;fade-in delay when switching Spaces, you could simply use them with maximized apps and hotkeys for switching them. Another design mistake from Apple.
评论 #34247169 未加载
评论 #34247183 未加载
评论 #34249895 未加载
评论 #34249037 未加载
rxhanson超过 2 年前
Charmstone [1] is a different take from everything mentioned here (I&#x27;m the developer).<p>The idea is to use your spatial memory to switch&#x2F;launch apps faster than anything else that I&#x27;ve found, with a smaller learning curve and less memorization.<p>You can use keyboard shortcuts with the arrow keys, modifier keys + cursor movement, or a trackpad gesture.<p>[1] <a href="https:&#x2F;&#x2F;charmstone.app" rel="nofollow">https:&#x2F;&#x2F;charmstone.app</a>
评论 #34251242 未加载
评论 #34249920 未加载
评论 #34251606 未加载
david_allison超过 2 年前
I&#x27;ve recently bought an Elgato Stream Deck*[0] (programmable 15-key LED macro-pad) and would strongly recommend it. Simply: define an icon, define a shell script&#x2F;app&#x2F;site and press a button to execute.<p>It natively supports &#x27;profiles&#x27; for contextual actions if a given application is active, and &#x27;folders&#x27;, to extend the actions available given the 15 key limitation.<p>I believe there&#x27;s also a SDK + plugin infrastructure which lets you define live-updating icons, but I haven&#x27;t given this a try.<p>[0] <a href="https:&#x2F;&#x2F;www.elgato.com&#x2F;en&#x2F;stream-deck-mk2" rel="nofollow">https:&#x2F;&#x2F;www.elgato.com&#x2F;en&#x2F;stream-deck-mk2</a><p>* EDIT to differentiate from Steam Deck
评论 #34253623 未加载
评论 #34250023 未加载
评论 #34249874 未加载
trumpeta超过 2 年前
Another way of doing this is assign Hyper key to Caps Lock with Karabiner and then use that to set up hyper+X shortcuts to different or macros using Hammerspoon.<p>So e.g. I have hyper+a for Alacritty, hyper+b for Browser etc.
评论 #34245872 未加载
评论 #34246005 未加载
评论 #34246521 未加载
评论 #34245713 未加载
评论 #34246162 未加载
评论 #34251203 未加载
iviv超过 2 年前
I think this workflow is interesting and the title unfortunately clickbait-ish. We can read about things we find interesting without claiming X is better.
csdvrx超过 2 年前
No. My function keys are used for things I do more often, like change color profiles, toggle a single app into dark mode, etc.<p>My favorite trick is not the function keys but other &quot;useless&quot; keys: like Caps is remapped to be Esc (when released before another key is pressed) or Control (when used in conjunction with another key: act as a modifier), my 2 shifts and 2 alt do their normal modifier function (when used in conjunction with another key) but when used by themselves act as PageUp&#x2F;PageDown Home&#x2F;End<p>Going up 2 pages up in the browser? Shift Shift. Top of the page? Alt. Bottom? The other Alt.<p>For the Control keys, as I don&#x27;t need that many I&#x27;ve experimented with a few remapping, but BackSpace&#x2F;Delete are very handy.<p>Going to the previous page in the browser? Alt+Control.
600frogs超过 2 年前
I’ve tried _so_ many different desktop workflows (including writing two custom window managers!), and I’ve finally settled for the exact same workflow - F -keys bound to my most common apps, all fullscreened. It becomes muscle memory within two weeks, and it’s faster than anything else I’ve tried by a mile. I use Thor for MacOS if anyone wants to replicate it, it’s a no-fuss version of the author’s setup.<p>If I ever do need to see two things side-by-side, I’ve also got Rectangle for window positioning. A single cmd+caps lock+H&#x2F;J&#x2F;K&#x2F;L for left-half&#x2F;restore&#x2F;maximise&#x2F;right-half is all I’ve found is necessary.
评论 #34247422 未加载
monroewalker超过 2 年前
Karabiner has already been mentioned here but I&#x27;ll add that goku (<a href="https:&#x2F;&#x2F;github.com&#x2F;yqrashawn&#x2F;GokuRakuJoudo">https:&#x2F;&#x2F;github.com&#x2F;yqrashawn&#x2F;GokuRakuJoudo</a>) is THE way to setup Karabiner and it can be hard to overcome the extremely verbose and unergonomic default json config of Karabiner otherwise. Goku also makes it trivial to add shortcuts which are activated by quickly pressing one key while another is held. I use this for the kind of launch mode described in the OP. eg. w + e = editor (Intellij), w + r = chrome, w + f = firefox.. The drawback to these shortcuts is that they can unintentionally be activated when regularly typing since we don&#x27;t always release a key before pressing the next. That&#x27;s only happened seldomly for me though since &quot;w&quot; isn&#x27;t a frequently used letter and I&#x27;ve set the shortcut activation window pretty low so the w + &lt;key&gt; key has to be pressed essentially immediately after w.<p>Similarly, I use q + w for previous tab, q + e for next tab, and s+d to open the clipboard history from Alfred
froddd超过 2 年前
I like my hands resting near the bottom of the keyboard, so Cmd-tab is very quick as it is within reach and does not require using my eyes. To use those function keys I’d have to look at the keyboard, which feels like a waste of time.<p>Though I’d rather have function keys back instead of the touchbar, as changing volume&#x2F;brightness now requires looking at the keyboard <i>as well as</i> a certain precision&#x2F;dexterity.<p>Edit: formatting.
ataru超过 2 年前
I bind mine to virtual desktops, but I have the same applications on each desktop all time, so the workflow is quite similar.
chadlavi超过 2 年前
All the apps I use the most are open most of the time. I can just use cmd+tab to switch between them quickly.<p>To each their own, but this feels unnecessary to me in my own personal workflow. I&#x27;ve never thought to myself &quot;boy I wish I could open one specific app, that wasn&#x27;t already open, with a single keystroke&quot;
评论 #34248880 未加载
jojohack超过 2 年前
Alfred workflow instructions in case you don&#x27;t wish to use Keyboard Maestro for this:<p><a href="https:&#x2F;&#x2F;ldstephens.medium.com&#x2F;launch-your-favorite-mac-apps-with-keyboard-shortcuts-using-alfred-406635e2bbd4" rel="nofollow">https:&#x2F;&#x2F;ldstephens.medium.com&#x2F;launch-your-favorite-mac-apps-...</a>
terminal_d超过 2 年前
A better &quot;hack&quot; for linux users: Linux supports a &quot;digital-only&quot; modifier called &quot;Hyper&quot;. You can use Xmodmap to set a key as hyper on press, and set Hyper-F[X] to whatever functions you wish to.<p>Alternatively, use a keyboard with QMK, or install a dedicated application like KMonad.
deafpolygon超过 2 年前
Eh..?<p>Don&#x27;t get me wrong - if it works for you or OP, great! Keep doing it. I use Sway and KDE depending on what tickles my fancy.<p>For application launching, I just use Alt+Space and type the first few letters of what I want. My frequent flyers get assigned to Meta+Alt+Letter.<p>- Krunner &#x2F; Rofi - Alt+Space (Meta+D was a bit contorted for me) - Meta+Enter - Konsole (KDE) &#x2F; Kitty (Sway) - Meta+Shift+&lt;1-0&gt; - move active window to desktop - Meta+1-0 - switch to desktop #1-#10<p>A lot of apps use F-keys so it&#x27;s not a good fit for me. When possible, I like to map custom shortcuts for various applications using F-keys.. not use it as an application launcher.<p>For example: With Dolphin, I&#x27;ve gotten used to F2 for renaming (Windows holdover), F3 for split file view, F4 for terminal, F5 for refresh<p>Kate or VS Code, I tend to map F5 to Build&#x2F;Run&#x2F;Debug.
评论 #34251542 未加载
williamdclt超过 2 年前
I can&#x27;t hit Fn keys reliably without looking. Instead I mapped switching to my common programs to `fn+h&#x2F;j&#x2F;k&#x2F;l` and other closeby keys (firefox = fn+h, vscode = fn+j, etc). My right-hand fingers are already on hjkl anyway, it&#x27;s much much faster for me :)
评论 #34254417 未加载
powersnail超过 2 年前
Is there a keyboard-oriented window manager that doesn&#x27;t require memorizing what keys do what?<p>What I envision is having one master key combination to pull up a panel or overlay of some sort, which displays which key I press next to go to a certain place, or do a certain action. So there&#x27;s just one thing to memorize.<p>Sort of like how vimium works in browser, where you press &#x27;f&#x27;, and each clickable gets a little label. (But preferably not randomly assigned)<p>The memorizing-most-commonly-used-50-keyboard-combination thing really doesn&#x27;t work for me, whether it&#x27;s home row or function keys. I mean, I still have to look at the little pictures for stove knobs after years of using the same stove, and that&#x27;s just four knobs.
评论 #34253827 未加载
评论 #34253386 未加载
评论 #34253413 未加载
default_png超过 2 年前
I have a Stream Deck that I set up to change the LCD&#x27;s based on what the current in focus application is. I also have a button on each of the custom screens that gets me to the &quot;Main Macro&quot; pad.<p>I strongly recommend them for programming.<p>They save me so much time.
0rca超过 2 年前
For MacOS there is Hammerspoon, that provides immensely powerful scripting, but can merely open and close the apps, too.<p><pre><code> -- ~&#x2F;.hammerspoon&#x2F;init.lua function define_shortcut(appName, key, mod) hs.hotkey.bind(mod, key, function() hs.application.enableSpotlightForNameSearches(true) local app = hs.application.find(appName) if app and app:isFrontmost() then app:hide() else hs.application.open(appName) end end) end define_shortcut(&quot;Alacritty&quot;, &quot;F1&quot;, {}) define_shortcut(&quot;Firefox&quot;, &quot;F2&quot;, {})</code></pre>
somada141超过 2 年前
Personally I’ve been using a similar approach for over a decade where I have 9 desktops on my Mac most of which have fixed windows on them eg 1 for a file explorer, 2 for mail, 3 for browser, 4 and 5 for IDEs, 6 for related tooling, 7 for notes and maybe another browser window, 8 for music, and 9 for chat windows and I switch between them with Ctrl+&lt;number&gt;. On top of all of them desktops I can Ctrl+Space the terminal (Quake style, Warp now, used to be iTerm) and Alt+Space for Raycast (used to be Alfred). This was I rarely if ever need to Cmd+Tab since everything is fixed in place most of the time.
keester超过 2 年前
linux user (kde, cinnamon, etc.). I have been using ctl-f1,ctl-f2, etc to switch between virtual desktops since about 2000. Each virtual desktop is labeled like &#x27;email&#x27;, &#x27;docs&#x27;, &#x27;browser&#x27;, &#x27;editor&#x27;, &#x27;sql&#x27; etc. At each desktop I can alt-tab between a couple of apps, say IDEA and a terminal, or SquirrelSQL and a terminal. So I navigate apps by first selecting the correct desktop and then possibly alt tabbing a little bit. That works well for me and I think probably a lot of users since it&#x27;s the default behavior after install.
mynameishere超过 2 年前
Is it okay to use them for what they are actually useful for? F3 = repeat search, F5 = refresh, etc, etc, all context dependent, of course, but that is a good thing. Mac people I do not understand.
评论 #34250923 未加载
kbd超过 2 年前
I use Karabiner-Elements and Hammerspoon to map caps lock to a &quot;hyper&quot; key, so browser is hyper+b, text editor is hyper+t, terminal is hyper+s, notes&#x2F;tasks (Obsidian) is hyper+k, etc.
frankjr超过 2 年前
You can do something similar (albeit less fancy) without using any 3rd party applications on macOS.<p>1. Open Automator.app and create a Quick action.<p>2. Drag &quot;Launch Application&quot; to the workflow and choose an application to open. Save it.<p>3. Open Preferences -&gt; Shortcuts -&gt; Services and assign a keyboard shortcut to your action. Unfortunately, macOS will not let you assign many combinations. The other annoying thing is that running the shortcut is not instantaneous, there seems to be a noticeable delay before the action executes.
marcosdumay超过 2 年前
You know, the CTRL-Fn combinations are usually mapped to virtual workspaces on Linux, what is much more powerful than applications and give you the same kind of speedup.<p>Who organizes things around application anyway, instead of windows?<p>Anyway, no, it&#x27;s bad to remap the Fn keys. They have been used to fast intra-application navigation since they appeared, and they are still in wide use. (Does the author not use application shortcuts?) Combining them with another key is just obvious.
评论 #34247111 未加载
评论 #34246744 未加载
评论 #34247898 未加载
runjake超过 2 年前
I use my function keys for other things within programs.<p>I use Alfred on macOS to quickly launch various apps and actions using the launcher hotkey plus a few chars. I don&#x27;t have a problem with my workflow, and it syncs between my Macs.<p>I am doing similar with Albert on Linux, with the goal of someday moving back to Linux full-time.<p>At this point, I have a vast collection of workflows and snippet completions and I feel like my experience is pretty optimized for my tasks, but you do you.
tsuujin超过 2 年前
This kind of use case should have been what the Touch Bar supported.<p>I was actually excited when the Touch Bar came out because I though I would finally be able to just have named buttons, even click-through menus, instead of having to memorize what f1-f12 did on a given app.<p>Imagine if instead of “ok, f1 opens my [some application], I just need to memorize that” you could just add a button that says [some application]”.<p>Sadly the support for the Touch Bar was pretty middling to poor.
eviks超过 2 年前
The function keys are too far away for such frequent operations, so it&#x27;s much better to map apps to regular alpha keys (some can also have a mnemonic benefit like &#x27;f&#x27; for File manager) with a modifier, e.g., CapsLock or even Space (though these would need to be behind a tiny delay not to interfere with typing), with a proper keyboard remapping app like Karabiner
评论 #34247033 未加载
aendruk超过 2 年前
My favorite function key trick is to first move the number keys into a “virtual numpad” and then move the function keys down onto the unused number row. That way the function keys are easy to reach without looking and always available without conflicting with the laptop’s media&#x2F;utility keys.
评论 #34256577 未加载
Jordrok超过 2 年前
This is exactly why I like to use a gaming keyboard with extra programmable function keys off to the left side. All the flexibility without having to override any default functionality that the standard keys might have.<p>Edit: Also, dedicated media keys and a volume control wheel&#x2F;knob are a must!
kkfx超过 2 年前
I use the same concept in Emacs&#x2F;EXWM to launch&#x2F;jump&#x2F;bury X11 and native buffers, + mod.+keys for extras like F5 run notmuch, C-F5 access unread tag directly, M-F5 compose a new message etc.<p>That&#x27;s why I damn HATE the disappearance of classic MANY-keys keyboards...
dredmorbius超过 2 年前
In the discussion of standards, standardisation, and reserving specific keystrokes for specific contexts (applications, OS &#x2F; windowing system, increasing <i>Web browser</i> (an increasingly inadequate description), etc., we have ... an embarrassment of riches. Or something like that.<p>The first standardisation within a GUI context I&#x27;m aware of was the Common User Access system on IBM PCs. That grew out of the early PC era within which different programs had their own idiosyncratic command-key conventions, several of which are listed in the Wikipedia article on the topic:<p>&lt;<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;IBM_Common_User_Access" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;IBM_Common_User_Access</a>&gt;<p>This still wasn&#x27;t the <i>first</i> such standard. IBM already had fairly standardised function-key conventions under MVS and TSO&#x2F;ISPF. The Unix world inherited emacs functions from ITS (as a set of macros over the TECO editor), vi keybindings, and a number of other conventions. Emacs commands have been incorporated into Readline, and are generally available on bash and similar shells.<p>There was a revision of CUA under Windows (whose name &#x2F; initialism I forget), as well as a set of interface guidelines for Apple&#x27;s classic Macintosh, as well as MacOS &#x2F; OS X). Within the Linux world, GNOME and KDE offer the HIG, Human Interface Guidelines.<p>And various X11 window managers offer their own shortcuts and hotkeys (I&#x27;ve long used and extended a set for WindowMaker, for my own use, which incorporate some of the ideas in the submitted article).<p>There&#x27;s also the browser environment, in which there are often conflicts: browser-versus-OS (window manager &#x2F; GUI shell), browser-versus-webapps (e.g., a site&#x27;s own specific keybindings), and browser-versus-extensions, such as, say, Vimperator, which provides a vi&#x2F;vim-like keybinding interface to major browsers.<p>A key problem is that once a standard does emerge, interface conventions change, often profoundly. And independent evolved systems (e.g., Emacs, VIM, CUA, MS Windows, Apple Mac, ...) have a rather stubborn persistence measured in <i>decades</i>. Moving from mainframes to minis to PCs to GUIs and over the past decade to both mobile&#x2F;touch- and Web-based applications, and arguably voice-based (Siri, Google, Alexa, Cortana, ...) are further confounding standards. Given that the user-base of smartphones &#x2F; tablets is now roughly 10x that of desktop-based systems, design principles for smartphones seem to be driving desktop conventions, <i>regardless of suitedness to task</i>.
reportgunner超过 2 年前
You can use Win+[number on the row key] on Windows to do this, no configuration required. The number corresponds to the position of an app on the taskbar. You can pin apps to the task bar to make sure they are always in the same position.
jacob019超过 2 年前
I remap the useless caps lock to AltGr and then customize the whole keyboard. Mostly for unicode characters, but some shortcuts too—especially those F keys. I&#x27;m using Linux and do it with xkb. Can write a blog article if anyone is interested.
评论 #34247346 未加载
jdlyga超过 2 年前
I do this using Win+1,2,3,4,etc on Windows and Gnome 3. I believe this has been a feature since Windows 7. It&#x27;s one of the first features I look for when trying out a new Linux desktop environment since it&#x27;s so convenient.
xalava超过 2 年前
Gnome assigns SUPER+NUM to the applications in the sidebar by default. You can change the applications or their order visually and the keyboard shortcut is highly accessible.<p>It&#x27;s one of the well thought features that makes me stick with it.
commandlinefan超过 2 年前
I honestly had to glance down at my keyboard to see if it <i>had</i> function keys.
评论 #34256500 未加载
BrandonS113超过 2 年前
I map the function keys to virtual desktops, but same idea. And CAPLOCK to Alfred to select apps. Super easy on Mac, and difficult to do on Linux, the main reason I don&#x27;t like Linux desktops. To each their own.
motoboi超过 2 年前
In macOS, just CMD-&lt;space&gt;,t-e&lt;enter&gt; will give me a terminal.<p>So many keys, you say. Well, it takes me probably 1&#x2F;10 the time to hit fn-F1.<p>Also, no extra app, Chrome is just CMD-&lt;space&gt;,c-h&lt;enter&gt;.
评论 #34252908 未加载
roxgib超过 2 年前
Another solution to this problem is to get a standalone numpad and assign the keys as hotkeys. Lots of macro apps allow different functions to be assigned to specific keyboards.
评论 #34254053 未加载
hemmert超过 2 年前
Looking forward to try it out! Sounds like a great thing!
clord超过 2 年前
Would be nice to have a usb keypad and perhaps a little oled screen in each keycap to implement this… my function keys are pretty overloaded with stuff now.
评论 #34246359 未加载
评论 #34246315 未加载
wodenokoto超过 2 年前
I really want my keyboard brightness key back. The M-series MacBooks have Siri and … something else I don’t use instead of keyboard brightness.
评论 #34256519 未加载
emacs28超过 2 年前
The best productivity hack is to get a keyboard with programmable QMK firmware and remap the keys however&#x2F;wherever you want.
kazinator超过 2 年前
Basically, your applications are pinned to positions on a task bar, and that task bar is made of a row of physical buttons.
sigmonsays超过 2 年前
I just use rofi and type what I want to launch. I dont really see the need for all this.
pxoe超过 2 年前
f1 key in its default &#x27;help&#x27; function is so remarkably useless, i just remap it to Enter. and then, remap tilde to to Left and Caps Lock to Right, and you&#x27;ve got a neat little navigation block on the left side of the keyboard.
personjerry超过 2 年前
Or... put them on your Dock?
评论 #34256509 未加载
willnonya超过 2 年前
To all of the &quot;No, youre using computers wrong&quot; responses all I can say is they did declare that they are a web developer...