In VS Code you need to use alt to set multiple cursors. Is there any way to change it to, maybe, ctrl? Using alt really annoys me as it's less comfortable to me and it always toggles menu bar which I hid on Windows:
photo
Or maybe is there any other solution, maybe to change key that toggles menu? I couldn't find any useful shortcut entries in shortcuts config of vs code.
It is not currently possible to customize mouse shortcuts, the feature request for that is here https://github.com/Microsoft/vscode/issues/3130
It's actually completely unusable on most Linux distributions as it's an OS-level shortcut.
Related
I want to change the key binding set in Xcode 11 some are editable bur some are greyed which I cannot edit, how to unlock it.
Because they are similar to other editable shortcuts thus are treated as something like dependent variables.
In the File Menu section for example, the Close Tab (CMD+W) shortcut is editable. Meanwhile, the similar shortcuts (Close Other Tabs (Option+CMD+W), Close Window (Shift+CMD+W), Close Other Windows (Control+Option+CMD+W), Close All Windows (Option+Shift+CMD+W)) are not editable (greyed).
But when I change Close Tab from (CMD+W) to (CMD+M), the W in the keys of all those similar shortcuts will be changed accordingly to M.
You can verify this on your computer.
To be clear, you cannot edit key bindings that are grayed out. They are generated based on the preceding setting. For example, if the preceding settings is ⌘2 then the grayed out setting below may add ⌥ to become ⌘⌥2.
If you're astonished at how poor this design is, then rest assured that your understanding is correct.
As a workaround, I use BetterTouchTool to remap my shortcuts. For example to "close other tabs" I remap ⌘⇧W (my preferred shortcut) to ⌥⌘W (Xcode's default) and have it only apply to the Xcode app.
On my mac, typing Option-Shift-R in any text field in any program inserts a "‰" character. The problem is that I use Option-Shift-R as a special shortcut in another program (PyCharm), and whenever I use this key it both executes the action in pycharm and types the character, which is annoying.
Given that I've never once needed the "per-mille" symbol in my life, is there a way on mac to disable this shortcut? There seems to be no option for it in the "Keyboard -> Shortcuts" menu.
It is your keyboard layout that's producing "‰" when you press Option-Shift-R. (It's also what produces "A" when you press the A key, and everything else.)
You can try switching to a different built-in keyboard layout using System Preferences > Keyboard > Input Sources, but you probably won't find one which produces nothing when you press Option-Shift-R.
So, your best bet is probably to create a custom keyboard layout and use that. There's an app called Ukelele that can help create such custom keyboard layouts. I haven't check recently, but I'm fairly sure it can create a new one by copying one of the built-in layouts, which you then tweak just a bit so most things work just as you expect.
When I open finder and then go to the search field I can get to the filtered results by hitting TAB and then DOWN.
This is not working when I search within the modal which appears when I want to open something for example in sublime-text. I always have to use my touchpad/mouse which I would prefer to avoid. Am I missing something trivial or is there a way how to get to the results just by using keys?
Also you should checkout UIBrowser, it shows you the UI elements for scripting and you could write an AppleScript to select the area you want. Then use automator to create a service which you can set a keyboard shortcut for. Or Fastscripts is a nice little app that you can use to set shortcuts to applescripts.
In System Preferences > Keyboard > Shortcuts, you need to enable Full Keyboard Access for All Controls.
You can also toggle the setting at any time using Control + F7
With this setting enabled, you should be able to tab into the results.
The "Move Focus to Source" Shortcut (Ctrl1) doesn't seem to be working--either it does nothing or, when RStudio is in full-screen mode, it (annoyingly) acts as if I had just pressed Ctrl+Left Arrow) (However, manually clicking on "Move Focus to Source" does work as expected).
This post suggests that it might be a bug. However, in contrast to the post, the other shortcuts involving control+numeral (Such as "Show History") appear to be working correctly.
So is this a bug or am I doing something wrong?
Also, since--as mentioned in the post--the RStudio guys "don't recommend overriding [the keyboard shortcuts] via the Mac System Preferences", I'd prefer to avoid that approach (though I'm not exactly sure why it should be avoided--hopefully someone can shed some light on this, too).
Set-up:
OS X Version 10.9.3
RStudio Version 0.98.501
By default, Apple sets the Ctrl1 shortcut to "Switch to Desktop 1". As a result, if you want to enable the Ctrl1 behavior in RStudio you will first have to disable this shortcut in the System Preferences.
Specifically, the path is:
System Preferences --> Keyboard --> Mission Control --> Switch to Desktop 1
Then, after disabling this, RStudio's shortcut will work just fine.
[Note: you could either reassign the RStudio shortcut or the "Switch to Desktop 1" shortcut but the approach I described is definitely the most reliable since you won't have to worry about any other shortcut conflicts.]
I encounter the same problem when I use the Romaji keyboard instead of the e.g. US or US Extended keyboards.
When one of the Japanese input methods is active, ^1 is used to "Convert to related character" and ^2 is used to find a similar kanji character.
In other words, when you use multiple input methods, use the correct input method for working with RStudio.
Ok, maybe they're system shortcuts. I've googled (just a bit) and couldn't find an answer. Maybe there isn't any :) Still..
I love keyboard and I use quite a few in TextMate but just realise I still use the mouse for 2 of the most common actions:
How do I press search and replace after the S/R dialog box is up? - if you press enter it just takes you to the next occurrence of the search string
when I close a file that I don't want to save, how can I choose don't save without touching the mouse?
To select Don't Save from the keyboard, you can use the keyboard shortcut ⌘+D. (This works in most OS X apps, not just TextMate.)
The search and replace (actually it's called "Replace & Find") shortcut is alt-cmd-f and works both inside the Find dialog and without it. With using other shortcuts like cmd-f, shift-cmd-f, cmd-G you can perform most of the search/replace actions without even opening the dialog. For example, if you want to perform the substitution, you press alt-cmd-f, then another is highlighted and if you want to skip it, it's cmd-G, which finds yet another, and so on.
As for the second question, I think it's a general Mac OS X issue -- the message boxes buttons don't have keyboard shortcuts in other apps, too. When I first switched from Windows, this annoyed me but I got used to it by now.
I recently built a web site to store lists of shortcut keys and there is a great list of TextMate Shortcut Keys for Mac on there.
If you know any more you can add them yourself too!
Here's the link http://shortcutkeys.org/software-shortcuts/mac/textmate
If you want to choose the answer for any dialog with the keyboard, go to "System Preferences" > "Keyboard" > "Keyboard Shortcuts". On the bottom of that page there are two radio buttons. Activate "All controls". Now you can switch options of a dialog box with the tab key in every proper OS X application. Note that this is a secondary option, thus you can hit the enter key for the default behaviour or space to trigger your secondary option. Most often it's set to the opposite of the default behaviour, i.e. "Don't save" in a file save dialog and "no" or "cancel" in many many other applications.
I think thats a great feature. Due to the secondary option I always hit either enter or space, depending which option I wanted.