- Installs Brew
- Fixes "Home" and "End" buttons for macOS
- Installs and configures Vim, Neovim, iTerm2 and git
fn + i
for iTerm2 andfn + t
for Telegram
- Uncheck
Automatically rearrange Spaces based on most recent use
- Disable Hot Corners
- Unset
Show Desktop
shortcut for F11 to work with VSCode
- Remap CapsLock to Escape
System Preferences -> Keyboard -> Modifier Keys
- Set
Input Sources
toKazakh
andABC - Extended
- In
Keyboard -> Text
turn offUse smart quotes and dashes
and set the values to normal out of superstition
- Turn OFF
Font smoothing
inSystem Preferences -> General
- For Big Sur+:
defaults -currentHost write -g AppleFontSmoothing -int 0
- In
System Preferences -> Display
setResolution: Scaled
and select the middle choice
- Go to
General -> Preferences -> Load Preferences from a custom folder
- Point to
dotfiles/iTerm
- In
Profiles -> Terminal
turn onUnlimited Scrollback
- Use
brew bundle dump
to create a dumpfile with all of the currently installed brew packages (add--force
if the file exists) - Use
brew bundle
to install all of the packages in theBrewfile
- Tips & Tricks
git clone https://github.com/vim/vim.git
cd vim/src
make
sudo make install
# Create a symbolic link for `vi`
sudo ln -s /usr/local/bin/vim /usr/local/bin/vi
- Ignore sudo protection while saving
:w !sudo tee %
- Output external command's result in Vim
:.! date
- Command history
q:
- Open a URL (note the slash at the end)
vim https://stackoverflow.com/
:profile start profile.log
:profile func *
:profile file *
" At this point do slow actions
:profile pause
:noautocmd qall!
[Source](https://stackoverflow.com/a/12216578)