Mouseless Navigation in Safari with Cmd+F on Mac - macos

how to choose highlighted search results from the (cmd+F) word search? I know that I can change from one to the next one with "Tab" button. Pressing the "Enter" button on the highlighted word (in order to open that new link as I did on my Windows, but it does not work on my Mac). I always have to use my mouse in order to open/click on it. Is there another way to choose? I want to navigate faster through Safari.
Thanks

If you'd like to navigate faster through Safari, you can use a plugin/extension called 'Gleebox'. It's very useful for selecting links simply by pressing a shortcut (which you can set to whatever you like) and then typing the word. It will highlight it in green and you can press enter to select it. You can also press tab to move from item to item. It can also help you select just headers, image links, etc.
Gleebox for Safari is experimental however. Using Chrome, it can be downloaded here: https://glee.github.io/

Related

Visual Studio 2013 - Replace All Button gone (not just off screen)

I am unable to perform multi-file text search and replace (in Visual Studio).
In the past, when I opened the "Replace in Files" dialog, there were 4 buttons in the lower right. One of the bottom two buttons allowed me to "Replace All".
The two lower buttons (including "Replace All") are no longer present.
I believe this occurred after I changed some Windows settings so that I could use menus without the Magnifier.
It is not just a matter of the buttons being off-screen because the window is too large (although it is too large - they would be off-screen, if they were present).
I can drag the window and see the bottom, even though the top is then off-screen (I use AltWindowDrag, allowing me to hold the ALT key, and drag by any part of the window, not just the title bar).
The two lower buttons are not present. I'm unable to resize the window - when I try, nothing happens, or the window repositions so that I can see the title bar, but can no longer see the bottom.
The two buttons that are still present (Find Next and Replace) don't have keyboard shortcuts, so I presume that Replace All doesn't either. Nor can I select either of those two buttons using Tab, so probably can't select an "invisible" "Replace All" button that way.
Any help appreciated.
You can use Find and Replace by pressing Ctrl+H and to Replace All just use Alt+A.

Is it possible in any browser to find text on a webpage using search and "clicking" it without the mouse?

Lets say I have a page with 1000 blue links stacked on top of one another. I want to find one that matches pattern "blah" so I press ctrl-F/cmd-F and type in "blah". I find the link, it's highlighted for me. Here's my question...
Now that the browser has highlighted this link, is there anyway I can "click" on it instead of having to grab the mouse? I basically want to move my tab focus to it so I can just press enter and move on.
Thanks in advanced.
Somehow I discovered that this feature is already implemented in Chrome: just press Ctrl+Enter. :)

Textmate: cannot find page up for macbook keyboard

Using a macbook keyboard (which means I do not have the 'page up' button) I cannot figure out what the pageUp keybinding is or how to bind ctrl+u to the pageUp action.
My first attempt was to add this to my KeyBindings.dict file:
{
"^u" = "pageUp:";
}
That didn't work, so I tried to define pageUp: in "settings -> keyboard -> keyboard shortcuts -> application shortcuts" and then created one for textmate using 'pageUp' and 'pageUp:' as the 'Menu Title' option (there is no menu option for textmate that I can see so I was kind of guessing here).
Basically, what is the opposite of ctrl+v? Or if it does not exist for this keyboard, how can I bind ctrl+u to page up?
You may have changed something with that keybindings file. fn-up arrow should page up and fn-down arrow should page down. The cursor doesn't move with these however, just the screen. I just accidentally found that Ctrl-Up and Ctrl-Down work the same way in TextMate. Playing around a bit, I also found that fn-Opt-Up and fn-Opt-Down will page up and page down while also moving the cursor.
I don't see right away the binding for it, but I do know that on MacBook's, fn + up / down arrow keys gives you page up / page down functionality.

Textmate tab and de-tab selected block

Recently switched to Textmate on Mac for coding. On PC when ever I want to tab in or out a block of code I just highlight and press tab or shift+tab to move it in our out. It's very useful when you are adding an extra loop or conditional statement to a block of code to keep everything tidy and neatly indented.
On Textmate however when I try this it just replaces my selected text with a tab. So is there a way to do tab and de-tab lines of code in textmate?
Indent: Alt+Tab
Un-Indent: Shift+Alt+Tab
the hotkey is command-left bracket to move left and command-right bracket to move right
(the buttons next to 'p')
heres a link to more hotkeys and such
http://projects.serenity.de/textmate/tutorials/basics/
You can use Shift+Tab to decrease indent; You just need to make and assign a macro. You can reuse this technique to accomplish a great many things.
Enter some text, and intend them, this is mostly for feedback.
Click the Record Macro Button
Use ⇧+⌥+⇥ (aka; Shift + Option + Tab) to decrease the indentation.
Click the record button to stop recording the macro.
Use the Edit menu or ⌃+⌘+M to save your macro;
Saving will prompt you to create a new bundle*, or add your macro to an existing bundle.
Add a Key Equivalent by clicking in the field and pressing ⇧+⇥
Your bundle-macro should look like the one below, simply Save and you're done! TextMate will now decrease indent on ⇧+⇥
*: (as noted by u/PatrickT) Sadly the create new bundle functionality has not yet been implemented, and you must choose to add to an existing bundle. You can still create a bundle via Bundles -> Edit Bundles then Command + N.
As an alternative, you can change the keybindings, see Link
Here is what I did:
Install Link
Go to File -> Open -> User Key Bindings, this will create/edit ~/Libary/KeyBindings/DefaultKeyBinding.dict
Add a binding, for the action enter shiftRight: (indent) manually (this is a TextMate specific action and not in the pre-populated actions list)
Choose a shortcut, I used cmd+alt+right
Do the same for the action shiftLeft: (un-indent, I used cmd+alt+left)
Save and then restart TextMate
I used a shortcut with arrow keys as my right hand is already on the arrow keys when I am selecting multiple lines, so this is a good fit.
The reason why I did it was because I have a german keyboard and alt+tab/alt+shift+tab don't work for me since I am using Witch for app-switching using these exact shortcuts.
EDIT: cmd+alt+left/right don't work when you have multiple tabs open, as they are used for navigate to next or previous tab in TextMate... seems this cannot be changed or overridden (I tried Setting Shortcut Keys in Textmate). Looking for an alternative shortcut now.

GtkNotebook add-tab button

Is it possible in Gtk+ to have an add-tab button inline with the tabs in a notebook, ala Opera or Google Chrome? I do know that Opera uses Qt and Chrome uses custom tabs, but is it possible in pure Gtk+?
Well, if it is not possible, there is a simple workaround:
Create a tab with the title "New Tab" or "+" or whatever
Detect when the tab is selected and, when such happens, create a new tab. Focus on that new tab so that the "New tab" tab isn't ever selected.
Sure. Check out the class BrandedNotebook at line 1384 of this file.
Unfortunately Gtk+ doesn't give you a "nice" way to do this, but you should be able to determine the amount of space available, and use it as you wish. In the case of BrandedNotebook, a pixbuf is drawn in the space, and mouse clicks are handled within the coordinates of the pixbuf.

Resources