Amazing: Hiding vs Minimizing vs Closing
Dok ceo svet ide dalje, Apple se i dalje bavi najosnovnijim stvarima. Del, Backspace, Close vs Hide vs Minimize, itd. Davno rešene stvari čak i na Linux sistemima, ali ne i na MacOS.
Red dot does “Close” ali to nije “Quit” application, već je “Close” window. Ali ipak jeste Quit app kada aplikacija podržava samo jedan prozor. Yellow radi “minimize” koji se očekivano ponaša, ali opet - samo za prozor a ne i za aplikaciju. U pitanju je potpuni debilizam.
Postoji i operacija “Hide” za koju nema buttona, koja will remove the application from view while still being visible the dock. Minimizing will minimize a single window to the dock, not the entire application.
Dakle, normalne operacije bi bile: Quit App, Minimize App, a kod Apple su Close Window i Minimize Window. Pošto je to nelogično za 90% korisnika, onda su uveli pojam “Hide” koja je ustvari taj “Minimize App”, dok za Quit App nema za sada imena.
macos - Mac OS: “Minimize” vs “Hide” - what’s the difference? - Super UserCan you put the
Home and End buttons
Jebem li vam mater, debili jedni!
Source: Make Home & End keys behave like Windows on Mac OS X » DamienG
Home and End - will go to start and end of line
Shift+Home and Shift+End - will select to start and end of line
Ctrl+Home and Ctrl+End - will go to start and end of document
Shift+Ctrl+Home and Shift+Ctrl+End will select to start and end of document
Kod svih Cocoa aplikacija, moraš nekako da proradi normalan Home-End, a to se radi na sledeći način. Inače, takve su aplikacije Sublime Text,
|
|
My DefaultKeyBinding.dict for Mac OS X
For Words selection like in Windows can be used next rules.apple
Note however, that not all apps honor default key bindings in Mac OS (XCode, Firefox, etc.)
You need to reboot after creating this file
Another issue is when you are like me, doing lots of Windoz in a VM (Oracle Virtualbox) and remote desktop (Microsoft Remote Desktop for MacOS). There you need to pass different keys so everything works. Same with terminal apps.
Same thing for Visual Studio Code:
{
"key": "ctrl+home",
"command": "cursorTop",
"when": "textInputFocus"
},
{
"key": "cmd+home",
"command": "cursorTop",
"when": "textInputFocus"
},
{
"key": "cmd+end",
"command": "cursorBottom",
"when": "textInputFocus"
},
{
"key": "ctrl+end",
"command": "cursorBottom",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+home",
"command": "cursorTopSelect",
"when": "textInputFocus"
},
{
"key": "shift+cmd+home",
"command": "cursorTopSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+end",
"command": "cursorBottomSelect",
"when": "textInputFocus"
},
{
"key": "shift+cmd+end",
"command": "cursorBottomSelect",
"when": "textInputFocus"
},
{
"key": "shift+cmd+left",
"command": "-cursorHomeSelect",
"when": "textInputFocus"
},
{
"key": "shift+cmd+left",
"command": "cursorWordLeftSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+left",
"command": "-editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+left",
"command": "cursorWordLeftSelect",
"when": "textInputFocus"
},
{
"key": "shift+cmd+right",
"command": "-cursorEndSelect",
"when": "textInputFocus"
},
{
"key": "shift+cmd+right",
"command": "cursorWordRightSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+right",
"command": "-editor.action.smartSelect.expand",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+right",
"command": "cursorWordRightSelect",
"when": "textInputFocus"
}
Setting default apps on MacOS
It’s frustrating that there is no simple or direct way to do this.
In fact, the recommended method is to click on “More info” in Finder, then select “Change All,” which can be a tedious process for each file type.
- Locate a file in Finder
- Right-click on the file
- Choose
Get Info
- Expand the
Open With
tab - Select your preferred app
- Press
Change All
Jedini toolovi su RCDefaultApp i Lord-Kamina/SwiftDefaultApps: Replacement for RCDefaultApps, written in Swift. koji se instalira sa brew install --cask swiftdefaultappsprefpane
, ali čak i on je naporan za korišćenje jer moraš da klikćeš baš mnogo kao lud.
Odlično uputstvo o svemu ovome na article Configuring a Mac’s Default Apps for Different File Types | apizz.
Tu je i moretension/duti: A command-line tool to select default applications for document types and URL schemes on Mac OS X i GUI wrapper za njega tsonglew/dutis: Command-line tool to select default applications, based on duti