How to make button4 on mouse do command + left arrow? - karabiner

I want to make button4 on mouse do command + left arrow. I've tried this a lot but don't have enough experience with karabiner and its code to do it. Thanks for helping me out!

Related

AHK how to remap Middle Mouse Scroll Click to Left Click + Right Click?

In AHK, I want to remap Middle Mouse Scroll Click to Left Click + Right Click. Tried this syntax, but doesn't work:
LButton+Rbutton::MButton
Please help!

VS Code - Horizontal Scrolling?

I am consulting you since I am dealing with something that bothers me about VSCode.
We are currently creating an application which is supposed to run locally so we do have a lot of base64 lines in our code. As you can imagine, these strings are quite large:
This is problematic for me (and my co-workers) since we are interested in this light-weight "Visual Studio"-like editor but can not avoid this line breaking from happening, which makes it very complicated to navigate certain scripts.
Is there an option to horizontally scroll the editor so the strings wont be hacked into window size creating this mess?
So far, I did not find anything that would help with my problem. Does anyone here have a clue what I'm after and where I could find it?
Alt + Shift then use the scroll wheel. This will horizontal scroll for you :)
Not the most efficent but you can slowly pane left and right
Ctrl + ⬅️ Will jump left one word per press
Ctrl + ➡️ Will jump right one word per press
With these commands if you also hold down Shift you will select the whole word.
This is not really scrolling and it's hard to pay attention to what's going on
Home will move the cursor to the start of the line
End will move the cursor to the very end of the line
Wordwrap is there to rescue from horizontal scrolling. Press Alt + z to toggle wordwrap on/off.

Is there a shortcut key to move a code selection left or right in eclipse?

I want to achieve the same action that Alt+up/down does, to left and right movement of a code selection.
for example,
if I have this code an[] if I select n and press a shortcut to move it right it should become a[n]. Is there any shortcut for this? If not, is there a way to custom define this?
I use Eclipse Luna.
There is no command to do that. if you look at the General > Keys in preferences, you can see that there are only commands for Move Lines Up and Move Lines Down.
So you have to keep going with drag & drop.

Does anyone know how to zoom in on NetBeans code?

I want to enlarge the code I've written in NetBeans so it's easier to read. I can enlarge the output by using ctrl and '+', but it doesn't work on the code. Does anyone know how to do this?
Alt+Scroll Wheel (on mouse) will do it. If you want to change the font size, go to Tools>Options>Fonts&Colors [note: this is a large icon/tab]. From there, in the Syntax tab (default) click Default, then the '...' button next to Font. Change the font size here, and click Okay. Other fonts inherit this size, so that should be the only change.
Happy coding!
press { ALT (your keyboard) + Scroll wheel (your mouse) };
NetBeans 7.2 changes the behaviour slightly – now you need to initiate a press down click on the scroll wheel whilst scrolling to increase/decrease the font size. No keyboard assistance required!
- ref http://www.craiglotter.co.za/2012/10/16/how-to-quickly-increase-or-descrease-the-font-size-in-netbeans-ide/
Just press "alt" and scrool and normally it's oke
Visit here and download the zooming plugin.
Steps to Install Plugin:
Open Tools
Select Plugin
Goto Available Plugins Tab
Search for Zoom and install the plugin
Restart NetBeans
If you want to zoom In/Out the code file /source window use this below method.
press Alt key+ scroll Mouse wheel up for Zoom In and scroll Mouse wheel down for Zoom Out
If you want to zoom In/Out the output window/terminal use this below method.
press Ctrl key+ scroll Mouse wheel up for Zoom In and scroll Mouse wheel down for Zoom Out
Lots of "mouse driven" answers here. But not everyone uses a mouse anymore. To Zoom In/Out of the Output Window of Netbeans 11.x do this, it's simple.
Press Ctrl while pressing the Arrow Up (to zoom in) and Arrow Down (to zoom in) keys on your keyboard.

How to make gtk HPaned hide one side if pane clicked?

I ran several programs before where there is a paned widget with an arrow on its pane. Clicking the arrow hide the side to which the arrow was pointing. I found no way to achieve this in Gtk. any help please?
A quick way to do it is to put a GtkExpander in one side or both sides of the GtkPaned.