Live data from Hacker News

Ask HN: Does anyone use keyboard/mouse extra buttons for coding?

news.ycombinator.com

21–30 of 160 posts

Re: Ask HN: Does anyone use keyboard/mouse extra buttons for coding?

#22

I have a Dygma Raise which is a ~60% keyboard and uses layers. My layer 2 is full of useful macros. I need macros even for the keyboard arrows because my Keyboard doesn't have arrows (arrows are layer2+hjkl or layer2+esdf). I also make heavy use of custom mappings in Vim and Bash aliases. I have a macro for ctrl+shift+v on my Keyboard since it's the Evolution (Linux mail app) shortcut for moving emails. I also have m…

That seems like a pretty neat keyboard, thanks for the tip.

> I also have macros for ctrl+alt+left and ctrl+alt+right to switch desktops more easily.

This is done by Super+h and Super+l over here. To bring the active window along with, add Ctrl...

I kept mistaking one of my shortcuts so I made the wrong version play a sound file of John Denver yodeling. It still gets me sometimes :-)

Re: Ask HN: Does anyone use keyboard/mouse extra buttons for coding?

#23
post #12

If you are crazy like me, here is what you could do with your mouse: https://www.reddit.com/r/KeyboardLayouts/comments/kpklnq/my_... It's a layout to avoid switching constantly from mouse to keyboard and remain most of the time with one hand on each devices.

I can’t read the link, Reddit pops up an overlay demanding i use their app. Reloading the page doesn’t kill off the modal, it just comes back. There’s no dismiss option for the modal.

What a tire fire of a UI on Reddit.

Re: Ask HN: Does anyone use keyboard/mouse extra buttons for coding?

#25
I use the “recon” side button on my Corsair M65 mouse to activate “Mission Control” (or the Gnome 3 equivalent thereof). I’ve also remapped the sensitivity up/down buttons to switch virtual desktops. Not coding-related exactly but I use it as a productivity boost when I’m working with code.

Re: Ask HN: Does anyone use keyboard/mouse extra buttons for coding?

#26
I use a Corsair M95 mouse. I've programmed the side buttons for copy and paste, select all, refresh, and the activitation of my drop-down Tilix terminal. There are also the default forward/back and dpi buttons. It's more for productivity as opposed to programming though, as I use Vim for programming and all the commands are already easily accessible from the keyboard. The browser controls and copy and paste buttons are great for cases when I have a hand on my mouse but the other is not on my keyboard.

The downside of this is that I oftentimes tap the side of the mouse when using a different computer (and realizing that there's no button to press) thanks to muscle memory.

Re: Ask HN: Does anyone use keyboard/mouse extra buttons for coding?

#28

I have a Moonlander from ZSA. Flippin' sweet keyboard. I have a layer for mouse movement with wasd. On the same layer, I've bound hjkl to the arrow keys, so I can get vimish movement wherever. Below these keys on the same layer I have some browser navigation shortcuts. I use evil-mode in Emacs. The key below my left thumb is control on hold, escape on tap, and it works beautifully. On my left thumb cluster, I have a…

The Moonlander is great.

I have Cmd+Shift+R (Refresh) and Cmd+Alt+I (Dev tools) on the two big red keys. On my navigation layer I have distinct keys for emacs navigation: C-x [, C-x ] (page forward/backward) and ESC f, ESC b (word forward/backward).

And I have Ctrl+Cmd+Space (MacOS emoji picker) on a single key.

My layout: https://configure.zsa.io/moonlander/layouts/4DrXo/XxmmW/0

Post reply on HN