-
Trackpad: Disable Natural Scrolling
-
Keyboard Shortcuts: Map Caps Lock to Control
-
Keyboard Shortcuts: Mission Control > Misson Control => "Shift + Cmd + Up"
-
Keyboard Shortcuts: Mission Control > Application windows => "Shift + CMD + Down"
-
Spotlight: Uncheck "Show Spotlight search"
-
Dock Settings: Check "Automatically hide and show the Dock"
- Caffeinate or Amphetamine
- Brave
- 1Password
- Typora
- DataGrip
- Rectangle
- Raycast
- Postman
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"git clone https://github.com/klgilbert/dotfiles ~/.dotfiles
cd ~/.dotfilesbrew bundleRCRC=rcrc rcupzplug install
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
Installing plugins
- Add new plugin to
~/.tmux.confwithset -g @plugin '...' - Press
prefix+ I (capital i, as in Install) to fetch the plugin.
Uninstalling plugins
- Remove (or comment out) plugin from the list.
- Press
prefix+ alt + u (lowercase u as in uninstall) to remove the plugin.
vim +PlugInstall +qaBasic customizations
- Line numbers
- Ruler (line and column numbers)
- No wrap (turn off per-buffer via :set wrap)
- Soft 2-space tabs, and default hard tabs to 2 spaces
- Show trailing whitespace as
. - Make searching highlighted, incremental, and case insensitive unless a capital letter is used
- Always show a status line
- Allow backspacing over everything (indentations, eol, and start characters) in insert mode
<C-P>inserts the directory of the current file into a command- Automatically resize splits when resizing the Vim window (GUI only)
<leader>ewexpands to:e (directory of current file)/(open in the current buffer)<leader>esexpands to:sp (directory of current file)/(open in a horizontal split)<leader>evexpands to:vsp (directory of current file)/(open in a vertical split)<leader>etexpands to:tabe (directory of current file)/(open in a new tab)<F4>toggles paste mode.<leader>fefformats the entire file<leader>uconverts the entire word to uppercase<leader>lconverts the entire word to lowercase<leader>Uconverts the first char of a word to uppercase<leader>Lconverts the first char of a word to lowercase<leader>cdchanges the path to the active buffer's file<leader>mdcreates the directory of the active buffer's file (For example, when editing a new file for which the path does not exist.)gwswaps the current word with the following word<leader>ulunderlines the current line with=<leader>twtoggles wrap<leader>fcfinds the next conflict marker (tested with Git conflicted files)- Remap
<Down>and<Up>togjandgk(Wrapped text is not considered a single long line of text.) <leader>hstoggles highlight search<leader>=adjusts viewports to the same size (<C-w>=)
All plugins are maintained using vim-plug
A Vim plugin which shows a git diff in the 'gutter' (sign column). It shows whether each line has been added, modified, and where lines have been removed. You can also stage and revert individual hunks.
This plugin causes all trailing whitespace to be highlighted in red. To fix the whitespace errors, just call :FixWhitespace. By default it operates on the entire file. Pass a range (or use V to select some lines) to restrict the portion of the file that gets fixed.
This plugin provides the following mappings which allow you to move between Vim panes and tmux splits seamlessly.
In insert mode, start typing something and hit <TAB> to tab-complete
based on the current context.
Ack.vim uses ack to search inside the current directory for a pattern. You can learn more about it with :help Ack.
A collection of language packs for Vim
Vim sugar for the UNIX shell commands
- Fugitive (Git Support)
Fugitive adds pervasive git support to git directories in vim. For more
information, use :help fugitive
Continuously updated session files
Quoting/parenthesizing made simple